Differences
This shows you the differences between the selected revisions of the page.
2014-10-30 | 2014-10-30 | ||
redundand code label (martin) | 5.6.2 Bug 876 Set global configuration options on command-line (martin) | ||
Line 5: | Line 5: | ||
See [[rawsettings|raw site settings]] syntax. | See [[rawsettings|raw site settings]] syntax. | ||
- | ===== Transfer Settings ===== | + | ===== Global Settings ===== |
+ | |||
+ | ==== Transfer Settings ==== | ||
For [[transfer_settings|transfer setting]], you can pre-configure your preferred settings as [[ui_pref_transfer|default transfer settings]]. The script uses the default transfer settings as initial. | For [[transfer_settings|transfer setting]], you can pre-configure your preferred settings as [[ui_pref_transfer|default transfer settings]]. The script uses the default transfer settings as initial. | ||
Line 12: | Line 14: | ||
If the value of the option is not static you can generate the INI file before running the script. | If the value of the option is not static you can generate the INI file before running the script. | ||
- | ==== Examples ==== | ||
For example, to configure changing case of filenames to lowercase during transfer, use following INI file: | For example, to configure changing case of filenames to lowercase during transfer, use following INI file: | ||
Line 21: | Line 22: | ||
</code> | </code> | ||
- | ===== Other Settings ===== | + | ==== Other Settings ==== |
The same applies to most other settings, such as configuring reconnect interval: | The same applies to most other settings, such as configuring reconnect interval: | ||
<code ini> | <code ini> | ||
[Configuration\Interface] | [Configuration\Interface] | ||
SessionReopenAuto=10000 | SessionReopenAuto=10000 | ||
+ | </code> | ||
+ | |||
+ | ==== Using /rawconfig parameter ==== | ||
+ | |||
+ | In the latest beta release, you can use ''[[commandline#configuration|/rawconfig]]'' parameter. &beta | ||
+ | |||
+ | For example to configure the two settings shown above use: | ||
+ | |||
+ | <code batch> | ||
+ | winscp.exe ... /rawconfig Interface\CopyParam\FileNameCase=2 Interface\SessionReopenAuto=10000 | ||
</code> | </code> | ||