Iis 7 PASV后FTP断开连接
这是FileZilla连接到Amazon EC2云中Windows server 2008计算机上的FTP服务器。我不明白为什么它老是踢我Iis 7 PASV后FTP断开连接,iis-7,ftp,windows-server-2008,amazon-ec2,Iis 7,Ftp,Windows Server 2008,Amazon Ec2,这是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:
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
有什么想法吗 您是否为FTP用户授予了指向它的目录的权限?我也有同样的问题。为了解决, 在Filezilla中,转到编辑->设置。在“设置”页面上,单击左侧的FTP,然后选择右侧的“活动”。点击OK然后连接
注意:与您的案例中的
amazonec2
不同,我的虚拟机位于Azure
上。只需确保您已启用端口21,就像我在Azure portal上配置VM的FTP端点时所做的那样。此步骤在AWS中可能有所不同FTP用户实际上是一个IIS管理器,而不是真正的用户,因此我不能授予它比IIS更多的权限。传统上,您可以为PASV转发端口-