当内网服务器从远处ftp服务器下载文件时,因为防火墙的缘故,使用ftp命令无法进行下载,因为cli的ftp程序只支持PORT模式:
It's by design as ftp://ftp.exe/ doesn't support FTP PASSIVE mode.
FTP Client Transfer Mode
Command-line Active (non-passive)
IE 5.1 and earlier Passive
IE 5.5 and later Both
FrontPage ver.1.1 to Windows XP Active
采用新的ftp-- ncftp程序进行自动脚本下载。
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26273052/viewspace-1060311/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26273052/viewspace-1060311/