PASV 后 FTP 断开连接
这是连接到 Amazon EC2 云中 Windows Server 2008 计算机上的 FTP 服务器的 FileZilla。我不明白为什么它总是踢我。
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
有什么想法吗?
This is FileZilla connecting to an FTP server on a Windows Server 2008 machine in the Amazon EC2 cloud. I can't figure out why it keeps kicking me.
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
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有同样的问题。为了解决,
注意:与您的情况中的
Amazon EC2
不同,我的虚拟机位于Azure
上。只需确保您已启用端口 21,就像我在 Azure 门户上配置 VM 的 FTP 端点时所做的那样。 AWS 中此步骤可能有所不同I had the same issue. In order to resolve,
NOTE: Unlike
Amazon EC2
in your case, I had my VM onAzure
. Just make sure, you have enabled port 21 as i did while configuring my VM's FTP endpoints on Azure portal. This step may be different in AWS您是否已授予 FTP 用户对您所指向的目录的权限?
Have you given the FTP user permissions on the directory you're pointing it at?