- 论坛徽章:
- 0
|
本来担心是不是vsftpd.conf里的pasv设置没有生效,刚才却发现如果在Win下用IE浏览器访问ftp,就没有问题,在服务器上用netstat -a查看,打开的端口是60007,但在Linux下用ftp命令和在Win下用freshFTP则不能登陆:
Linux下提示:
~$ ftp 192.168.197.254
Connected to 192.168.197.254.
220 (vsFTPd 2.3.5)
Name (192.168.197.254:ch): ipt
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
550 Permission denied.
ftp: bind: Address already in use
ftp>
Win下freshFTP提示:
~ Connecting to 192.168.197.254
~ Connected to 192.168.197.254, waiting response...
< 220 (vsFTPd 2.3.5)
> USER ipt
< 331 Please specify the password.
> PASS ********
< 230 Login successful.
~ Login completed.
> REST 100
< 350 Restart position accepted (100).
> PWD
< 257 "/home/ipt"
> TYPE A
< 200 Switching to ASCII mode.
> CWD /home/ipt
< 250 Directory successfully changed.
> PWD
< 257 "/home/ipt"
> PORT 192,168,197,6,4,157
< 550 Permission denied.
! Error receiving directory list.
|
|