1

I'm trying to specify proxy related settings while starting WinSCP GUI from cmd. I've used following command WinSCP.exe ftp://USER:PASS@HOST /log=H:winscptest.log /rawsettings ProxyHost=PROXYHOST (I would like to specify also password this way) and setting log file works perfectly fine but in this log file I can see Proxy: None and this is causing Connection failed

Any example of battle proven command properly setting proxy configuration variables will be much welcomed.

In fact I will also be happy of any way of starting WinSCP GUI after providing proxy user and password as well as ftp user and password programmatically ( having as input for the powershell/batch program those values in plain text )

0

You have to set ProxyMethod according to your proxy type (HTTP/SOCKS/...). Without that, ProxyHost has not effect.

An example for HTTP proxy:

WinSCP.exe ftp://USER:PASS@HOST/ /rawsettings ProxyMethod=3 ProxyHost=PROXYHOST /log=...

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.