使用cmd在代理后面上传ftp

时间:2013-05-30 06:55:58

标签: upload proxy ftp cmd

我无法上传文件,它挂在:

150 opening data connection for file.txt

连接似乎没问题,我运行这个脚本:

open proxyserver proxyport
user@ftp.something.com
password
cd try
bin
quote pasv
put C:\file.txt
quit

我别无选择,只能用ctrl + c关闭连接,我有这样的信息:

425 Can't open data connection.
421 Service not available, closing control connection.

使用filezilla可以,但我必须使用批处理。 提前感谢您的回答。

1 个答案:

答案 0 :(得分:0)

请参阅以下网址获取此建议:

QUOTE Many FTP clients do not support PASV transfers. For example, the standard FTP.EXE built into Windows does not support this feature. The user can still do a "quote PASV", which will tell the server to enter PASV mode, but the client still will not work in this mode. (This is a common problem, users enter "quote PASV" but things still don't work).  结束语录

使用ncftp - 免费提供http://www.ncftp.com

http://www.pcreview.co.uk/forums/configure-ftp-exe-use-passive-mode-pasv-t3655119.html