通过卫星/高延迟连接的 FTP

发布于 2024-07-09 10:22:12 字数 436 浏览 11 评论 0原文

我每天都使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

明媚如初 2024-07-16 10:22:12

听起来像是使用 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".

乖乖 2024-07-16 10:22:12

几个选择:

  • 运动鞋网。 使用 USB 密钥。
  • SCP。 我几乎肯定它只会验证/握手一次。
  • 通过 SSH 建立隧道。 穷人的VPN。 您将能够通过 SSH 连接建立 FTP 隧道或任何您喜欢的内容。 它的速度会尽可能快,并且启动起来非常安全。

A few options:

  • Sneaker-net. Use a USB key.
  • SCP. I'm almost positive it'll only authenticate/handshake once.
  • Tunnelling over SSH. The poor man's VPN. You'll be able to tunnel FTP or anything you like over the SSH connection. It'll be as fast as you're going to get and is very secure to boot.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文