ftp 无法检索目录列表

ftp 无法检索目录列表

我正在尝试连接到我的 ftp 服务器,但我得到了

Status: Disconnected from server
Status: Connecting to 127.0.0.1:21...
Status: Connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/home/jenia" is the current directory
Command:    TYPE I
Response:   200 Switching to Binary mode.
Command:    PASV
Response:   227 Entering Passive Mode (127,0,0,1,240,11).
Command:    LIST
Response:   150 Here comes the directory listing.
Error:  Connection closed by server
Error:  Failed to retrieve directory listing

我不明白在我的 ftp 客户端 (Filezilla) 和我的服务器之间建立连接时出现什么问题。

这与我关闭时形成鲜明对比vsftpd

Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:  Could not connect to server
Status: Waiting to retry...
Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:  Could not connect to server

为什么Error: Failed to retrieve directory listing

提前致谢。

PS 我之所以连接到,127.0.0.1是因为我的 Android 手机上(可能)遇到了同样的问题,并决定尝试使用 Filezilla 来开始调查该问题。

相关内容