commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2018-11-09 | 2018-12-20 | ||
dot (martin) | 5.14.2 /rawtransfersettings command-line switch to configure any transfer settings using a raw format as in an INI file. (martin) | ||
Line 24: | Line 24: | ||
winscp.exe [/ini=<inifile>] | winscp.exe [/ini=<inifile>] | ||
winscp.exe [/rawconfig config1=value1 config2=value2 ...] | winscp.exe [/rawconfig config1=value1 config2=value2 ...] | ||
+ | winscp.exe [/rawtransfersettings setting1=value1 setting2=value2 ...] | ||
winscp.exe /batchsettings <site_mask> setting1=value1 setting2=value2 ... | winscp.exe /batchsettings <site_mask> setting1=value1 setting2=value2 ... | ||
winscp.exe /keygen keyfile [/output=output] [/changepassphrase] [/comment=comment] | winscp.exe /keygen keyfile [/output=output] [/changepassphrase] [/comment=comment] | ||
Line 144: | Line 145: | ||
With ''/==rawconfig=='' parameter you can set any configuration settings [[rawconfig|using raw format as in an INI file]]. E.g. to configure an external IP address use ''/rawconfig Interface\ExternalIpAddress=198.51.100.10''. The parameter must come after a session URL (if any). The configuration set this way is preserved. | With ''/==rawconfig=='' parameter you can set any configuration settings [[rawconfig|using raw format as in an INI file]]. E.g. to configure an external IP address use ''/rawconfig Interface\ExternalIpAddress=198.51.100.10''. The parameter must come after a session URL (if any). The configuration set this way is preserved. | ||
+ | |||
+ | With ''/rawtransfersettings'' you can set any transfer settings [[rawconfig|using raw format as in an INI file]]. E.g. to enable preserving of directory timestamps, use ''/rawtransfersettings PreserveTimeDirs=1''. The configuration set this way is preserved. In [[scripting]], it is better to use ''-rawtransfersettings'' switch of individual scripting commands, like ''get'', ''put'', etc. &beta_feature | ||
==== [[batchsettings]] Mass-modification of sites ==== | ==== [[batchsettings]] Mass-modification of sites ==== |