【问题标题】:ftp upload behind a proxy with cmd使用 cmd 在代理后进行 ftp 上传
【发布时间】:2013-05-30 06:55:58
【问题描述】:

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

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 没问题,但我必须使用批处理。 提前感谢您的回答。

【问题讨论】:

    标签: upload proxy ftp cmd


    【解决方案1】:

    有关此建议,请参阅下面的 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

    【讨论】:

    • 我像这样配置 ncftp 防火墙:firewall-type=2 firewall-host=proxyserver firewall-user=user@ftp.something.com firewall-password=password firewall-port=proxyport 但是当我输入时:ncftp ftp.something.com 它一直告诉我:You're already logged in Sleeping 15 seconds...
    猜你喜欢
    • 1970-01-01
    • 2012-04-23
    • 2017-03-07
    • 2011-06-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-03
    • 1970-01-01
    相关资源
    最近更新 更多