使用cmd在代理后面上传ftp

问题描述 投票:1回答:1

我无法上传文件,它挂起于:

150 opening data connection for file.txt

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

open proxyserver proxyport
[email protected]
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没关系,但我必须使用批处理。提前感谢您的回答。

upload proxy ftp cmd
1个回答
0
投票

请参阅以下URL以获取此建议:

引用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

© www.soinside.com 2019 - 2024. All rights reserved.