Proxy scripting commands using -rawsettings?

Advertisement

3K
Donor
Joined:
Posts:
32
Location:
Geneva

Proxy scripting commands using -rawsettings?

Hello,

I am trying to know the proxy scripting commands for different types. I was searching the guides, faq and forum, but couldn't find the right commands. Could you kindly correct the commands below:

For Proxy type SOCKS4:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=1 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxySettingsConsiderProxyingLocalHostConnections=true ProxySettingsDNS=Auto

For Proxy type SOCKS5:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=2 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxyPassword=password ProxySettingsConsiderProxyingLocalHostConnections=false ProxySettingsDNS=Yes

For Proxy type HTTP:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=3 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxyPassword=password ProxySettingsConsiderProxyingLocalHostConnections=true ProxySettingsDNS=No

For Proxy type Telnet:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=4 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxyPassword=password TelnetCommand=connect %host %port\n ProxySettingsConsiderProxyingLocalHostConnections=true ProxySettingsDNS=Auto
Thank you.

Regards,

Maynard

Reply with quote

Advertisement

3K
Donor
Joined:
Posts:
32
Location:
Geneva

Re: Proxy scripting commands using -rawsettings?

martin wrote:

I have included these to the documentation:
https://winscp.net/eng/docs/rawsettings


Thanks, I was reading this page but I couldn't figured out the scripting command/syntax, shown in red text:

For Proxy type HTTP:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=3 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxyPassword=password ProxySettingsConsiderProxyingLocalHostConnections=true ProxySettingsDNS=No

For Proxy type Telnet:
open ftp://username:password@our.ftp -rawsettings ProxyMethod=4 ProxyHost=10.10.10.118 ProxyPort=8099 ProxyUsername=myname ProxyPassword=password TelnetCommand=connect %host %port\n ProxySettingsConsiderProxyingLocalHostConnections=true ProxySettingsDNS=Auto

Thank you.

Reply with quote

martin
Site Admin
martin avatar

Re: Proxy scripting commands using -rawsettings?

I have included these to the documentation
Meaning "few minutes ago".

Reply with quote

Advertisement

3K
Donor
Joined:
Posts:
32
Location:
Geneva

Re: Proxy scripting commands using -rawsettings?

By the way, there's a typo error on that page, the ProxyPort is missing as it's currently typed as ProxyHost.

Also, the commands ProxyUsername and ProxyPassword are not yet in the page? Kindly include them as well?

Thanks again. :D

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Proxy scripting commands using -rawsettings?

3K wrote:

By the way, there's a typo error on that page, the ProxyPort is missing as it's currently typed as ProxyHost.

Also, the commands ProxyUsername and ProxyPassword are not yet in the page? Kindly include them as well?
Ok, done. Thanks.

Reply with quote

Advertisement

You can post new topics in this forum