- 论坛徽章:
- 0
|
[root@SZQX992 ~]# ftp 192.168.34.41
Connected to 192.168.34.41 (192.168.34.41).
220 (vsFTPd 2.0.5)
Name (192.168.34.41:root): qxlogin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (172,17,140,138,119,13)
"Ctrl+C"
receive aborted
waiting for remote to finish abort
ftp> passive
Passive mode off.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 504 504 22 Sep 19 06:56 a.zip
drwxr-xr-x 2 504 504 4096 Jul 26 09:22 doc
drwxr-xr-x 2 504 504 4096 Jul 19 14:02 espn
drwxr-xr-x 2 504 504 28672 Sep 19 08:27 forecast
drwxr-xr-x 2 504 504 73728 Sep 19 09:17 szobt
226 Directory send OK.
ftp>
windows平台cmd命令行
C:\>ftp 192.168.34.41
连接到 192.168.34.41。
220 (vsFTPd 2.0.5)
用户(192.168.34.41none)): qxlogin
331 Please specify the password.
密码:
230 Login successful.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
a.zip
doc
espn
forecast
szobt
226 Directory send OK.
ftp: 收到 35 字节,用时 0.00秒 35000.00千字节/秒。
ftp>
服务器到客户端之前有防火墙,有作NAT地址转换。
问题:windows平台cmd命令下正常,为什么linux平台下面还要输入passive--passive off mode?
如果linux平台下面要达到windows平台下默认登录就正常,应该怎样处理。
最好能在Server端处理(192.168.34.41)上面处理,怎么处理?
如果要在客户端处理(10.153.99.2)上面处理,怎么处理? |
|