首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

FTP用命令行只能登陆但不能list或者fetch文件,

2011-12-29 
FTP用命令行只能登陆但不能list或者fetch文件,求助!需要写一个bat文件从一个ftp上拿文件,但是可以登陆ftp

FTP用命令行只能登陆但不能list或者fetch文件,求助!
需要写一个bat文件从一个ftp上拿文件,但是可以登陆ftp却不能拿,出错信息如下:

230 User user@user.com logged in.
ftp> cd File_Upload
250 CWD command successful. "/File_Upload" is current directory.
ftp> hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
ftp> ASCII
200 Type set to A.
ftp> mget File_Upload.csv
PORT command only accepts client IP address (174.129.xxx.xxx!=10.242.xx.xx).
List failed. No port specified.
200 Type set to A.
Cannot find list of remote files.
ftp> close
221 Bye bye ...
ftp> bye

用别的机器同样的命令是可以正常执行没问题的,求助,急!谢谢。

[解决办法]
把防火墙关了试试,我的这个防火墙开着就不行
[解决办法]
filezilla客户端是被动模式吧,
FTP命令只能是主动模式的.

热点排行