通过卫星/高延迟连接的 FTP
我每天都使用 FTP 在多个网站上工作,但是当我尝试在家工作时,我的卫星互联网有大约 1000 毫秒的延迟。 (我知道,它的服务很糟糕,但我住的地方没有其他选择。)因此,我想知道是否有一种方法可以连接到我的网络服务器并传输可以适应这种延迟的文件。
FTP“可以工作”,但它的通信速度非常非常慢,对于多个文件来说这是一场噩梦。 连接大约需要 10-15 秒才能开始传输,传输完成后还需要 5 秒。 传输本身按照预期进行得非常快,但握手过程却没有,因为服务器/客户端似乎需要进行大量通信来协商传输。 更糟糕的是,似乎需要为每个单独的文件执行此握手操作,这当然没有帮助。
有没有什么方法可以修改我的 FTP,使其在高延迟连接下更好地工作? 如果没有,我是否可以使用任何其他协议或传输服务来处理此类问题? 这是我发现我的 ISP 的主要错误,而且我没有找到太多可以解决的问题...
谢谢
I use FTP on a daily basis to work on multiple websites, but when I try to work from home, my darned satellite internet has a latency of about 1000ms. (Its craptastic service, I know, but there are no alternatives where I live.) Thus, I was wondering if there is a way that I can connect to my web server and transfer files that can accomodate this latency.
FTP "works", but it communicates very very slowly, and its a nightmare with multiple files. It takes the connection about 10-15 seconds to start the transfer, and another 5 seconds after the transfer is done. The transfer itself goes very fast as expected, but the handshake process does not, as the server/client seem to need to do a lot of communication to negotiate the transfer. Worse, it seems to need to do this handshake thing for every individual file, which certainly doesn't help.
Is there any way I can modify my FTP to make it work better over a high latency connection? If not, are there any other protocols or transfer services I might be able to use that could handle such an issue? Its the main fault I find with my ISP, and there's not a lot I've been able to find that I can do about it...
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来像是使用 UDP 而不是基于 TCP 的协议的好例子 - 例如 uftp
来自链接的引用站点:“对于通过卫星链路(双向通信)进行数据分发特别有用,其中固有的延迟使得任何基于 TCP 的通信效率极低”。
Sounds like a good case for using UDP rather than TCP-based protocols - e.g. uftp
A quote from the linked site: "especially useful for data distribution over a satellite link (with two way communication), where the inherent delay makes any TCP based communication terribly inefficient".
几个选择:
A few options: