ftp的一个小问题
时间:2009-11-18 来源:正愚
在登录了ftp服务器之后,使用dir命令时出现如下一个提示
ftp> dir
227 Entering Passive Mode 然后就停止在这里没有反应了,当然也没有结果出来。这个时候可以按ctrl+c,然后输入passive,在输入命令dir,就可以得到你想要的结果了。 ftp> dir
227 Entering Passive Mode receive aborted
waiting for remote to finish abort
ftp> passive
Passive mode off.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 3 0 0 4096 Nov 17 16:31 pub
226 Directory send OK.
ftp>
227 Entering Passive Mode 然后就停止在这里没有反应了,当然也没有结果出来。这个时候可以按ctrl+c,然后输入passive,在输入命令dir,就可以得到你想要的结果了。 ftp> dir
227 Entering Passive Mode receive aborted
waiting for remote to finish abort
ftp> passive
Passive mode off.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 3 0 0 4096 Nov 17 16:31 pub
226 Directory send OK.
ftp>
相关阅读 更多 +
排行榜 更多 +