Differences
This shows you the differences between the selected revisions of the page.
| 2010-10-10 | 2011-05-24 | ||
| no summary (martin) | session_configuration#stored (martin) | ||
| Line 4: | Line 4: | ||
| Possible consequences are: | Possible consequences are: | ||
| * The script fails (or "hangs"), because the [[ssh#verifying_the_host_key|host key]] (SFTP or SCP) or [[ftps#certificate|certificate]] (FTPS) is not known by the service's account, and WinSCP fails (or asks for) its verification. | * The script fails (or "hangs"), because the [[ssh#verifying_the_host_key|host key]] (SFTP or SCP) or [[ftps#certificate|certificate]] (FTPS) is not known by the service's account, and WinSCP fails (or asks for) its verification. | ||
| - | * The connection fails, because your script depends on stored session, which is not known by the service's account. | + | * The connection fails, because your script depends on [[session_configuration#stored|stored session]], which is not known by the service's account. |
| * Environment variables referenced in script are not resolved, because they are not set by the service's account. | * Environment variables referenced in script are not resolved, because they are not set by the service's account. | ||
| Solutions: | Solutions: | ||
| * [[scripting#hostkey|Specify fingerprint of expected hostkey or certificate]] explicitly in the script. ((Alternatively make sure the [[ssh#verifying_the_host_key|host key]] or [[ftps#certificate|certificate]] is verified under the service's account.)) | * [[scripting#hostkey|Specify fingerprint of expected hostkey or certificate]] explicitly in the script. ((Alternatively make sure the [[ssh#verifying_the_host_key|host key]] or [[ftps#certificate|certificate]] is verified under the service's account.)) | ||
| - | * Use [[config|INI file]] instead of registry to store the configuration to make sure the stored session (and/or other settings) can be accessed by all accounts. ((Alternatively [[config#transfering_the_configuration|transfer the stored session]] (and/or other settings) to the service's account.)) | + | * Use [[config|INI file]] instead of registry to store the configuration to make sure the [[session_configuration#stored|stored session]] (and/or other settings) can be accessed by all accounts. ((Alternatively [[config#transfering_the_configuration|transfer the stored session]] (and/or other settings) to the service's account.)) |
| When dealing with SSIS see also guide to [[guide_ssis|SFTP task in SSIS]]. | When dealing with SSIS see also guide to [[guide_ssis|SFTP task in SSIS]]. | ||
| //See also more generic article on [[faq_environment|making WinSCP work in a new environment (operating system, machine, user account, network)]].// | //See also more generic article on [[faq_environment|making WinSCP work in a new environment (operating system, machine, user account, network)]].// | ||