用lftp连接到一个ftp服务器,执行ls命令结果一直Making data connection。

google一下都说执行set ftp:ssl-allow no,但是实测无效。

上lftp官网看faq,里面也提到了这个:

Q: lftp hangs in "Making data connection" state.

A: Try "set ftp:prefer-epsv no". Probably a router on the path to the server
   does not recognize the EPSV command.

执行了一下,顺利解决。

官方faq

相关文章:

  • 2021-10-30
  • 2022-02-09
  • 2021-07-11
  • 2022-12-23
  • 2021-11-21
  • 2021-08-04
  • 2021-12-06
猜你喜欢
  • 2021-11-07
  • 2021-06-15
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案