Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iis 7 PASV后FTP断开连接_Iis 7_Ftp_Windows Server 2008_Amazon Ec2 - Fatal编程技术网

Iis 7 PASV后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:

这是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

有什么想法吗

您是否为FTP用户授予了指向它的目录的权限?

我也有同样的问题。为了解决,

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


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

FTP用户实际上是一个IIS管理器,而不是真正的用户,因此我不能授予它比IIS更多的权限。传统上,您可以为PASV转发端口-