Differences
This shows you the differences between the selected revisions of the page.
| 2009-05-29 | 2009-09-07 | ||
| mysession (martin) | reorganize (sections), other configuration (martin) | ||
| Line 1: | Line 1: | ||
| - | ====== How do I configure session and/or transfer 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? ====== |
| - | For session settings, you can pre-configure a stored session with all your settings [[ui_login|from GUI]] and open that stored session using ''[[script_commands#open|open]]'' command. 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. | + | Generally the solution is to configure the settings in GUI. Script will in the most cases uses the preconfigured settings as default one. |
| If you want to make your configuration portable, you can store it into an [[config|INI file]] and distribute the INI file with your script. | If you want to make your configuration portable, you can store it into an [[config|INI file]] and distribute the INI file with your script. | ||
| + | |||
| + | If the value of the option is not static you can generate the INI file before running the script. See examples below. | ||
| + | |||
| + | ===== Session Settings ===== | ||
| + | For session settings, you can pre-configure a stored session with all your settings [[ui_login|from GUI]] and open that stored session using ''[[script_commands#open|open]]'' command. | ||
| For example to enable HTTP proxy use following INI file: | For example to enable HTTP proxy use following INI file: | ||
| Line 26: | Line 31: | ||
| del server.ini | del server.ini | ||
| </code> | </code> | ||
| + | |||
| + | ===== 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 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 32: | Line 40: | ||
| [Configuration\Interface\CopyParam] | [Configuration\Interface\CopyParam] | ||
| FileNameCase=2 | FileNameCase=2 | ||
| + | </code> | ||
| + | |||
| + | ===== Other Settings ===== | ||
| + | The same applies to most other settings, such as configuring reconnect interval: | ||
| + | <code ini> | ||
| + | [Configuration\Interface] | ||
| + | SessionReopenAuto=10000 | ||
| </code> | </code> | ||