Differences

This shows you the differences between the selected revisions of the page.

2011-09-16 2012-04-23
bug 520 /rawsettings (martin) switches in scripting use - (martin)
Line 1: Line 1:
====== How do I configure session, transfer and/or any other settings for which there are no script commands? ====== ====== How do I configure session, transfer and/or any other settings for which there are no script commands? ======
-Generally the solution is to configure the settings in GUI. Script will in the most cases use the preconfigured settings as default one. //For session settings, in the latest beta release, preferred solution is to use ''/rawsettings'' switch//. &beta+Generally the solution is to configure the settings in GUI. Script will in the most cases use the preconfigured settings as default one. //For session settings, in the latest beta release, preferred solution is to use ''-rawsettings'' switch//. &beta
If you want to make your configuration portable, you can [[config|save it into an INI file]] and distribute the INI file with your script. If you want to make your configuration portable, you can [[config|save it into an INI file]] and distribute the INI file with your script.
Line 9: Line 9:
===== Session Settings ===== ===== Session Settings =====
-For session settings, you can use ''/rawsettings'' switch (&beta_feature) or pre-configure a [[session_configuration#stored|stored session]] with all your settings [[ui_login|from GUI]] and open that stored session using ''[[scriptcommand_open|open]]'' command.+For session settings, you can use ''-rawsettings'' switch (&beta_feature) or pre-configure a [[session_configuration#stored|stored session]] with all your settings [[ui_login|from GUI]] and open that stored session using ''[[scriptcommand_open|open]]'' command.
-==== Using /rawsettings Switch ====+==== Using -rawsettings Switch ====
&beta_feature &beta_feature
For example to open session with enabled HTTP proxy use following command: For example to open session with enabled HTTP proxy use following command:
<code winscp> <code winscp>
-open <session_url> /rawsettings ProxyMethod=3 ProxyHost=proxy ProxyPort=8080+open <session_url> -rawsettings ProxyMethod=3 ProxyHost=proxy ProxyPort=8080
</code> </code>

Last modified: by martin