cuteftp连接站点后,无法列出网站上的内容,连接失败,如下信息
COMMAND:> PASS ******** 230 User logged in, proceed. STATUS:> 登录成功 COMMAND:> TYPE I 200 Type set to I. COMMAND:> pwd 257 "/" is current directory. COMMAND:> TYPE A 200 Type set to A. STATUS:> 正在接收目录列表... COMMAND:> PORT 192,168,1,12,5,138 200 PORT Command successful. COMMAND:> LIST 150 Opening ASCII mode data connection for /bin/ls. 426 Data connection closed, transfer aborted.
问题猜测:昨晚安装了瑞星防火墙,今日就无法连接,应该是防火墙的问题,于是关闭防火墙,连接则成功。说明是防火墙设置的问题,查了会儿,发现目标,就是在【IP规则】那里的【允许FTP数据】应勾选,如下:
连接成功,问题解决:
COMMAND:> PASS ******** 230 User logged in, proceed. STATUS:> 登录成功 COMMAND:> TYPE I 200 Type set to I. COMMAND:> pwd 257 "/" is current directory. COMMAND:> TYPE A 200 Type set to A. STATUS:> 正在接收目录列表... COMMAND:> PORT 192,168,1,12,5,152 200 PORT Command successful. COMMAND:> LIST 150 Opening ASCII mode data connection for /bin/ls. 226 Transfer complete. STATUS:> 已顺利接收 41407 字节。 STATUS:> 时间: 0:00:01,速度: 40.44 千字节/秒 (41407 字节/秒) STATUS:> 完成。 |