Differences

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

2013-04-09 2013-07-09
prefer usign session url + raw settings over site (martin) typos (martin)
Line 7: Line 7:
Configuration of WinSCP in the new environment may differ. Term configuration here does not include only preferences, but also sites (stored sessions) &beta and caches for accepted SSH hostkeys and SSL/TLS certificates. Configuration of WinSCP in the new environment may differ. Term configuration here does not include only preferences, but also sites (stored sessions) &beta and caches for accepted SSH hostkeys and SSL/TLS certificates.
-Note that even when you are running WinSCP on the same machine as before, just under a different account (including different system account, such as when using Scheduler, SSIS, etc), you may not have the same configuration. By default WinSCP uses account-specific hive of registry to store its configuration, which is not accesible by other accounts. You may want to use [[config|INI file]] instead to ease configuration sharing.+Note that even when you are running WinSCP on the same machine as before, just under a different account (including different system account, such as when using Scheduler, SSIS, etc), you may not have the same configuration. By default WinSCP uses account-specific hive of registry to store its configuration, which is not accessible by other accounts. You may want to use [[config|INI file]] instead to ease configuration sharing.
Learn how to [[config#transfer|transfer your existing configuration]] to the new environment in general. Learn how to [[config#transfer|transfer your existing configuration]] to the new environment in general.
-Particuarly when using [[scripting|scripting]] you should avoid depending on configuration, where possible. Prefer configuring your session completelly using ''[[scriptcommand_open|open]]'' command, using [[session_url|session URL]] (and [[rawsettings|raw sesssion settings]], if needed), instead of storing [[session_configuration#site|site]] (stored session). &beta Also always [[scripting#hostkey|specify fingerprint of expected hostkey or certificate]] explicitly, instead of depending on caches.+Particularly when using [[scripting|scripting]] you should avoid depending on configuration, where possible. Prefer configuring your session completely using ''[[scriptcommand_open|open]]'' command, using [[session_url|session URL]] (and [[rawsettings|raw sesssion settings]], if needed), instead of storing [[session_configuration#site|site]] (stored session). &beta Also always [[scripting#hostkey|specify fingerprint of expected hostkey or certificate]] explicitly, instead of depending on caches.
If you are not able to find what differs between environments, turn on [[logging|session logging]] in both of them and compare the logs. It should become obvious. Even if you give up and decide to seek [[support|support]], make sure you post both complete logs. If you are not able to find what differs between environments, turn on [[logging|session logging]] in both of them and compare the logs. It should become obvious. Even if you give up and decide to seek [[support|support]], make sure you post both complete logs.

Last modified: by martin