FTP在PASV之后断开连接

Kav*_*gel 5 ftp iis-7 amazon-ec2 windows-server-2008

这是FileZilla连接到Amazon EC2云中的Windows Server 2008计算机上的FTP服务器.我无法弄清楚为什么它一直在踢我.

Command:    OPTS UTF8 ON
Response:   200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/" is current directory.
Command:    TYPE I
Response:   200 Type set to I.
Command:    PASV
Error:  Disconnected from server: ECONNABORTED - Connection aborted
Error:  Failed to retrieve directory listing
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

Zee*_*han 5

我遇到过同样的问题。为了解决,

在 Filezilla 中,转到编辑 -> 设置。在设置页面上,单击左侧的 FTP,然后选择右侧的活动。点击确定然后连接

注意:Amazon EC2与您的情况不同,我的虚拟机位于Azure. 只需确保您已启用端口 21,就像我在 Azure 门户上配置 VM 的 FTP 端点时所做的那样。此步骤在 AWS 中可能有所不同


Jee*_*eby 0

您是否已授予 FTP 用户对您所指向的目录的权限?