我在Windows机器上安装了许多FTP服务器,并将ngrok设置为FTP隧道。
C:\path\to\ngrok> ngrok tcp 21
使用linux,我可以建立FTP连接并仅使用已安装的ftp客户端浏览目录。
$ ftp
ftp> open 0.tcp.ngrok.io port_here
问题在于FileZilla,经典FTP文件传输软件,Chrome& Firefox扩展失败。
FileZilla输出:
Command: LIST
Response: 150 Opening ASCII mode data connection
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
我想知道为什么我无法使用FileZilla浏览,但使用ftp Linux命令效果很好。
谢谢。
答案 0 :(得分:1)
FileZilla通过以下方式解决了问题:
编辑>设置>连接> FTP>被动模式,并选择“退回到活动模式”和宾果!
可以将相同的技术应用于其他FTP客户端。