- 论坛徽章:
- 0
|
登录FTP后,使用命令报错.
原帖由 "andy9527" 发表:
登录FTP后,使用命令报错.
登录服务器后,在被动模式下,使用LS命令报错如下:
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
关闭被动模式后,报错如下:
227 Entering Passive Mode (211,144,133,22,74,200)
ftp: connect: Connection refused
请问是怎么回事?需要修改什么参数?
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
这是用主动模式
227 Entering Passive Mode (211,144,133,22,74,200)
这个才是被动模式
你的系统是什么?用的什么ftp服务器软件?可以先关掉防火墙试试
关于主动ftp与被动ftp,看看这个帖子“主动FTP vs. 被动FTP 权威解释”
http://bbs.chinaunix.net/forum/viewtopic.php?t=574966 |
|