Differences
This shows you the differences between the selected revisions of the page.
2006-06-30 | 2006-06-30 | ||
Portable Configuration (martin) | Portable Configuration (martin) | ||
Line 2: | Line 2: | ||
By default WinSCP stored its configuration into Windows registry. Optionally it can store it into an INI file. To switch the storage see //[[ui_pref_storage#configuration_storage|Storage tab]]// of Preferences window. | By default WinSCP stored its configuration into Windows registry. Optionally it can store it into an INI file. To switch the storage see //[[ui_pref_storage#configuration_storage|Storage tab]]// of Preferences window. | ||
- | On startup WinSCP looks for INI file in the directory from which it was started. The INI file must have an ''.INI'' extension and the same name as WinSCP executable. If it finds the INI file it loads configuration from it. If it does not find any, it uses the registry (of current user). This allows you to easily carry WinSCP with your configuration on removable media or USB drive. | + | On startup WinSCP looks for INI file in the directory from which it was started. The INI file must have an ''.INI'' extension and the same name as WinSCP executable. If it finds the INI file it loads configuration from it. If it does not find any, it uses the registry (of current user). This allows you to easily carry WinSCP with your [[config#portable_configuration|configuration on removable media or USB drive]]. |
You may also use INI file in different folder or with different name using [[commandline|/ini switch]]. | You may also use INI file in different folder or with different name using [[commandline|/ini switch]]. | ||
Line 9: | Line 9: | ||
You can [[ui_cleanup|clean up all configuration data]] stored on your machine. | You can [[ui_cleanup|clean up all configuration data]] stored on your machine. | ||
- | ===== Transfering the Configuration ===== | + | ===== Transferring the Configuration ===== |
If you use registry as configuration storage, you may export/import following registry key to export/import the settings. | If you use registry as configuration storage, you may export/import following registry key to export/import the settings. | ||
<code> | <code> | ||
Line 17: | Line 17: | ||
If you do not know how to work with registry, switch to INI file. | If you do not know how to work with registry, switch to INI file. | ||
- | If you use INI file as configuration storage, copy the ''winscp3.ini'' file from WinSCP installation directory on your source computer to installation directory on destination computer. The file is typicaly in following directory: | + | If you use INI file as configuration storage, copy the ''winscp3.ini'' file from WinSCP installation directory on your source computer to installation directory on destination computer. The file is typically in following directory: |
<code> | <code> | ||
c:\program files\winscp3\winscp3.ini | c:\program files\winscp3\winscp3.ini | ||
Line 23: | Line 23: | ||
This file is automatically created when you switch to INI file configuration. | This file is automatically created when you switch to INI file configuration. | ||
+ | |||
+ | ===== Portable Configuration ===== | ||
+ | You can configure WinSCP to be completely portable, i.e. make it store all its files and configuration in one place, portable drive (such as USB drive). | ||
+ | |||
+ | First, you need to turn to [[config#|INI file configuration]]. In addition to configuration, WinSCP stores by default some files to local drives: | ||
+ | * Random seed file (file ''winscp.rnd'' in yours //Documents and Settings// folder) | ||
+ | * [[temp_folders|Temporary files]] (system temporary folder) | ||
+ | |||
+ | You can force WinSCP to store the files into different location in [[ui_pref_storage|preferences]]. You can use paths relative to WinSCP start folder. | ||
+ | |||
+ | To change the storage directly in an INI file to the same location, where WinSCP is started from, set following parameters: | ||
+ | |||
+ | <code ini> | ||
+ | [Configuration\Interface] | ||
+ | RandomSeedFile=.\winscp.rnd | ||
+ | DDTemporaryDirectory=.\ | ||
+ | </code> | ||
===== Pre-configuring WinSCP ===== | ===== Pre-configuring WinSCP ===== | ||
Learn how to [[custom_distribution|distribute pre-configured version of WinSCP]]. | Learn how to [[custom_distribution|distribute pre-configured version of WinSCP]]. | ||
- | ===== Portable Configuration ===== | + | |
- | Learn how to configure WinSCP to be [[portable]] (to store all its files and configuration in one place, portable drive). | + |