我需要通过linux下载FTP软件包,但此后无法继续进行。
wget -r --no-passive-ftp --no-parent ftp://ftp.geology.wisc.edu/thurber
--2019-01-16 21:06:50-- ftp://ftp.geology.wisc.edu/thurber
=> ‘ftp.geology.wisc.edu/.listing’
Resolving ftp.geology.wisc.edu (ftp.geology.wisc.edu)... 144.92.206.97
Connecting to ftp.geology.wisc.edu (ftp.geology.wisc.edu)|144.92.206.97|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> PORT ... done. ==> LIST ...
Error in server response, closing control connection.
Retrying.
当我使用FileZilla进行操作时,存在类似的问题。它不能同时使用主动模式和被动模式列出目录-这是被动模式-
Status: Resolving address of ftp.geology.wisc.edu
Status: Connecting to 144.92.206.97:21...
Status: Connection established, waiting for welcome message...
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (144,92,206,97,188,14).
Command: LIST
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
这是活动模式-
Status: Resolving address of ftp.geology.wisc.edu
Status: Connecting to 144.92.206.97:21...
Status: Connection established, waiting for welcome message...
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PORT 10,0,21,8,164,149
Response: 200 PORT command successful
Command: LIST
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
@MichaelHampton我不能为OP发言。但是,当我运行相同的命令而没有
—
kasperd
--no-passive-ftp
失败时Cannot initiate PASV transfer.
--no-passive-ftp
选项?