|
|
公司在外网有一台托管的服务器,内网是使用一台Linux主机做路由器共享上网。现在如果用Windows自带的ftp命令行工具登陆外网的服务器的话是可以登陆,但是无法列出目录内容,也就无法进行后续的从操作。
下面是出错信息:
-------------------------
……
230 Login successful.
ftp> ls
500 Illegal PORT command.
425 Use PORT or PASV first. ”
-------------------------
但是在windows下不知道用什么命令可以转到pasv模式。
另:
在Linux下使用ftp命令就可以正常登陆,信息如下:
-------------------------
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode
150 Here comes the directory listing.
drwxr-xr-x 2 673 100 4096 Jul 30 2004 mail
drwxr-xr-x 2 673 100 4096 Jun 02 2004 public_html
226 Directory send OK.
-------------------------
现在想让windows下也能正常使用ftp,很着急!请各位DX多多指导,谢谢。 |
|