Timeout error when running winscp by script as part of SSIS package
I was previously using an older version of WinSCP but upgraded to version 5.9.4 during the troubleshooting process today. However, it didn't resolve my issue and the logging I'm seeing is pretty confusing since it just stops without any timeout error or information. Visual studio provides this informative error:
SSIS package ... starting.
Error: 0xC002914C at Upload via Winscp, Execute Process Task: The process timed out.
Task failed: Upload via Winscp
SSIS package ... finished: Success.
The program '[772] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).
A bit about my setup: Currently I'm triggering the individual winscp step from the visual studio window, but it also fails when run as a scheduled job on SQL server at the same step. I've stripped out some identifying information, but otherwise this accurately represents my setup.
- I'm running winscp from a centrally hosted fileshare (\\SSS-DD3\reports\WinSCP\WinSCP.exe)
- Script argument: -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
Log posted below from 3 separate attempts triggered as a scripted step in the SSIS package. (identifying info removed). In each case, the logging just seems to truncate and I can't figure out what's going on.
. 2017-04-18 08:51:09.384 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.477 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2017-04-18 08:51:09.649 Configuration: \\SSS-DD3\reports\WinSCP\WinSCP.ini
. 2017-04-18 08:51:09.649 Log level: Normal
. 2017-04-18 08:51:09.665 Local account: HPL\p-serveruser
. 2017-04-18 08:51:09.665 Working directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
. 2017-04-18 08:51:09.665 Process ID: 1124
. 2017-04-18 08:51:09.665 Command-line: "\\SSS-DD3\reports\WinSCP\WinSCP.exe" -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Company/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
. 2017-04-18 08:51:09.665 Time zone: Current: GMT-5, Standard: GMT-6 (Central Standard Time), DST: GMT-5 (Central Daylight Time), DST Start: 3/12/2017, DST End: 11/5/2017
. 2017-04-18 08:51:09.665 Login time: Tuesday, April 18, 2017 8:51:09 AM
. 2017-04-18 08:51:09.665 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.665 Script: Retrospectively logging previous script records:
> 2017-04-18 08:51:09.681 Script: option batch continue
< 2017-04-18 08:51:09.681 Script: batch continue
< 2017-04-18 08:51:09.681 Script: reconnecttime 120
> 2017-04-18 08:51:09.681 Script: option confirm off
< 2017-04-18 08:51:09.681 Script: confirm off
> 2017-04-18 08:51:09.681 Script: open sftp://company.serverinc.net\username:***@SJC-FTP.serverinc.net -passive -hostkey="ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70"
. 2017-04-18 08:51:09.681 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.681 Session name: company.serverinc.net\username@SJC-FTP.serverinc.net (Ad-Hoc site)
. 2017-04-18 08:51:09.681 Host name: SJC-FTP.serverinc.net (Port: 22)
. 2017-04-18 08:51:09.681 User name: company.serverinc.net\username (Password: Yes, Key file: No, Passphrase: No)
. 2017-04-18 08:51:09.681 Tunnel: No
. 2017-04-18 08:51:09.681 Transfer Protocol: SFTP
. 2017-04-18 08:51:09.696 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-18 08:51:09.696 Disable Nagle: No
. 2017-04-18 08:51:09.696 Proxy: None
. 2017-04-18 08:51:09.696 Send buffer: 262144
. 2017-04-18 08:51:09.696 SSH protocol version: 2; Compression: No
. 2017-04-18 08:51:09.696 Bypass authentication: No
. 2017-04-18 08:51:09.696 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-18 08:51:09.696 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-18 08:51:09.712 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-18 08:51:09.712 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-18 08:51:09.712 Simple channel: Yes
. 2017-04-18 08:51:09.712 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-18 08:51:09.712 Shell: default
. 2017-04-18 08:51:09.712 EOL: LF, UTF: Auto
. 2017-04-18 08:51:09.712 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-18 08:51:09.727 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-18 08:51:09.727 SFTP Bugs: Auto,Auto
. 2017-04-18 08:51:09.727 SFTP Server: default
. 2017-04-18 08:51:09.727 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-04-18 08:51:09.727 Cache directory changes: Yes, Permanent: Yes
. 2017-04-18 08:51:09.727 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-18 08:51:09.727 DST mode: Unix
. 2017-04-18 08:51:09.727 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.727 Looking up host "SJC-FTP.serverinc.net" for SSH connection
. 2017-04-18 08:51:09.743 Connecting to 50.56.9.35 port 22
. 2017-04-18 08:51:09.790 We claim version: SSH-2.0-WinSCP_release_5.9.4
. 2017-04-18 08:51:09.837 Server version: SSH-2.0-server SFTP Service 2.5.0
. 2017-04-18 08:51:09.837 We believe remote version has SSH-2 channel request bug
. 2017-04-18 08:51:09.837 Using SSH protocol version 2
. 2017-04-18 08:51:14.352 Have a known host key of type rsa2
. 2017-04-18 08:51:16.353 Doing Diffie-Hellman group exchange
. 2017-04-18 08:51:17.259 Doing Diffie-Hellman key exchange with hash SHA-256
. 2017-04-18 08:51:19.743 Host key fingerprint is:
. 2017-04-18 08:51:21.884 ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70
. 2017-04-18 08:51:22.915 Verifying host key rsa2 0x10001,0xcec8a3458cd5c815 353245f571c11c53 bf7a7c4b186b020d 226c46634e22576c accb81166a77327a deea177922c9e873 f851a7d91c834f97 b1b2bd413d4dd78f f9231179aa027c8a 275c59804c23de4f 469900d6fa948e79 06f7416b50a96b91 3055e5589062a823 9c499dc13366597a eefa115acaa2fe13 fb86393294dece2d 823b4f95ee16e048 de5c74f3f2d25024 ff755d4468d3c423 f99292125c4a675c a2918f9794e7a371 3efbebe20d3656c9 8641e3e312ee45f2 fc1da66eaef17932 ee40d9913de41f66 c14c6a716b224c5e 3bddea1e237ce8bb 119288c8a10c1ef1 c7490891e90dd78e a8fcb5ce0567464e 692d7e5ee2cecb15 07b2fb58cd7eb2e5 with fingerprint ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70
. 2017-04-18 08:51:26.533 Host key matches configured key
. 2017-04-18 08:51:30.773 Initialised AES-256 SDCTR client->server encryption
. 2017-04-18 08:51:30.913 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-04-18 08:51:31.087 Initialised AES-256 SDCTR server->client encryption
. 2017-04-18 08:51:31.287 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2017-04-18 08:51:32.155 Using username "company.serverinc.net\username".
. 2017-04-18 08:51:33.075 Server offered these authentication methods: password,publickey
. 2017-04-18 09:24:05.524 --------------------------------------------------------------------------
. 2017-04-18 09:24:05.696 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2017-04-18 09:24:11.649 Configuration: \\SSS-DD3\reports\WinSCP\WinSCP.ini
. 2017-04-18 09:24:11.978 Log level: Normal
. 2017-04-18 09:24:12.259 Local account: HPL\p-serveruser
. 2017-04-18 09:24:12.415 Working directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
. 2017-04-18 09:24:12.524 Process ID: 1772
. 2017-04-18 09:24:12.681 Command-line: "\\SSS-DD3\reports\WinSCP\WinSCP.exe" -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Company/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
. 2017-04-18 09:24:12.915 Time zone: Current: GMT-5, Standard: GMT-6 (Central Standard Time), DST: GMT-5 (Central Daylight Time), DST Start: 3/12/2017, DST End: 11/5/2017
. 2017-04-18 09:24:12.946 Login time: Tuesday, April 18, 2017 9:24:12 AM
. 2017-04-18 09:24:12.946 --------------------------------------------------------------------------
. 2017-04-18 09:24:12.962 Script: Retrospectively logging previous script records:
> 2017-04-18 09:24:12.978 Script: option batch continue
< 2017-04-18 09:24:12.978 Script: batch continue
< 2017-04-18 09:24:12.978 Script: reconnecttime 120
> 2017-04-18 09:24:12.978 Script: option confirm off
< 2017-04-18 09:24:12.978 Script: confirm off
> 2017-04-18 09:24:12.993 Script: open sftp://company.servername.net\username:***@SJC-FTP.servername.net -passive -hostkey="ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70"
. 2017-04-18 09:24:12.993 --------------------------------------------------------------------------
. 2017-04-18 09:24:12.993 Session name: company.servername.net\username@SJC-FTP.servername.net (Ad-Hoc site)
. 2017-04-18 09:24:12.993 Host name: SJC-FTP.servername.net (Port: 22)
. 2017-04-18 09:24:13.009 User name: company.servername.net\username (Password: Yes, Key file: No, Passphrase: No)
. 2017-04-18 09:24:13.024 Tunnel: No
. 2017-04-18 09:24:13.274 Transfer Protocol: SFTP
. 2017-04-18 09:24:13.915 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-18 09:24:14.556 Disable Nagle: No
. 2017-04-18 09:24:15.868 Proxy: None
. 2017-04-18 09:24:16.618 Send buffer: 262144
. 2017-04-18 09:24:17.337 SSH protocol version: 2; Compression: No
. 2017-04-18 09:24:17.743 Bypass authentication: No
. 2017-04-18 09:24:18.290 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-18 09:24:19.337 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-18 09:24:19.837 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-18 09:24:20.290 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-18 09:24:21.353 Simple channel: Yes
. 2017-04-18 09:24:23.665 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-18 09:24:24.978 Shell: default
. 2017-04-18 09:24:26.681 EOL: LF, UTF: Auto
. 2017-04-18 09:24:26.978 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-18 09:24:27.743 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-18 09:24:27.993 SFTP Bugs: Auto,Auto
. 2017-04-18 09:24:28.353 SFTP Server: default
. 2017-04-18 09:24:28.587 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-04-18 09:24:29.431 Cache directory changes: Yes, Permanent: Yes
. 2017-04-18 09:24:29.915 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-18 09:24:30.165 DST mode: Unix
. 2017-04-18 09:24:30.353 --------------------------------------------------------------------------
. 2017-04-18 09:39:52.723 --------------------------------------------------------------------------
. 2017-04-18 09:39:53.567 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
SSIS package ... starting.
Error: 0xC002914C at Upload via Winscp, Execute Process Task: The process timed out.
Task failed: Upload via Winscp
SSIS package ... finished: Success.
The program '[772] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).
A bit about my setup: Currently I'm triggering the individual winscp step from the visual studio window, but it also fails when run as a scheduled job on SQL server at the same step. I've stripped out some identifying information, but otherwise this accurately represents my setup.
- I'm running winscp from a centrally hosted fileshare (\\SSS-DD3\reports\WinSCP\WinSCP.exe)
- Script argument: -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
Log posted below from 3 separate attempts triggered as a scripted step in the SSIS package. (identifying info removed). In each case, the logging just seems to truncate and I can't figure out what's going on.
. 2017-04-18 08:51:09.384 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.477 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2017-04-18 08:51:09.649 Configuration: \\SSS-DD3\reports\WinSCP\WinSCP.ini
. 2017-04-18 08:51:09.649 Log level: Normal
. 2017-04-18 08:51:09.665 Local account: HPL\p-serveruser
. 2017-04-18 08:51:09.665 Working directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
. 2017-04-18 08:51:09.665 Process ID: 1124
. 2017-04-18 08:51:09.665 Command-line: "\\SSS-DD3\reports\WinSCP\WinSCP.exe" -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Company/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
. 2017-04-18 08:51:09.665 Time zone: Current: GMT-5, Standard: GMT-6 (Central Standard Time), DST: GMT-5 (Central Daylight Time), DST Start: 3/12/2017, DST End: 11/5/2017
. 2017-04-18 08:51:09.665 Login time: Tuesday, April 18, 2017 8:51:09 AM
. 2017-04-18 08:51:09.665 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.665 Script: Retrospectively logging previous script records:
> 2017-04-18 08:51:09.681 Script: option batch continue
< 2017-04-18 08:51:09.681 Script: batch continue
< 2017-04-18 08:51:09.681 Script: reconnecttime 120
> 2017-04-18 08:51:09.681 Script: option confirm off
< 2017-04-18 08:51:09.681 Script: confirm off
> 2017-04-18 08:51:09.681 Script: open sftp://company.serverinc.net\username:***@SJC-FTP.serverinc.net -passive -hostkey="ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70"
. 2017-04-18 08:51:09.681 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.681 Session name: company.serverinc.net\username@SJC-FTP.serverinc.net (Ad-Hoc site)
. 2017-04-18 08:51:09.681 Host name: SJC-FTP.serverinc.net (Port: 22)
. 2017-04-18 08:51:09.681 User name: company.serverinc.net\username (Password: Yes, Key file: No, Passphrase: No)
. 2017-04-18 08:51:09.681 Tunnel: No
. 2017-04-18 08:51:09.681 Transfer Protocol: SFTP
. 2017-04-18 08:51:09.696 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-18 08:51:09.696 Disable Nagle: No
. 2017-04-18 08:51:09.696 Proxy: None
. 2017-04-18 08:51:09.696 Send buffer: 262144
. 2017-04-18 08:51:09.696 SSH protocol version: 2; Compression: No
. 2017-04-18 08:51:09.696 Bypass authentication: No
. 2017-04-18 08:51:09.696 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-18 08:51:09.696 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-18 08:51:09.712 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-18 08:51:09.712 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-18 08:51:09.712 Simple channel: Yes
. 2017-04-18 08:51:09.712 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-18 08:51:09.712 Shell: default
. 2017-04-18 08:51:09.712 EOL: LF, UTF: Auto
. 2017-04-18 08:51:09.712 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-18 08:51:09.727 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-18 08:51:09.727 SFTP Bugs: Auto,Auto
. 2017-04-18 08:51:09.727 SFTP Server: default
. 2017-04-18 08:51:09.727 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-04-18 08:51:09.727 Cache directory changes: Yes, Permanent: Yes
. 2017-04-18 08:51:09.727 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-18 08:51:09.727 DST mode: Unix
. 2017-04-18 08:51:09.727 --------------------------------------------------------------------------
. 2017-04-18 08:51:09.727 Looking up host "SJC-FTP.serverinc.net" for SSH connection
. 2017-04-18 08:51:09.743 Connecting to 50.56.9.35 port 22
. 2017-04-18 08:51:09.790 We claim version: SSH-2.0-WinSCP_release_5.9.4
. 2017-04-18 08:51:09.837 Server version: SSH-2.0-server SFTP Service 2.5.0
. 2017-04-18 08:51:09.837 We believe remote version has SSH-2 channel request bug
. 2017-04-18 08:51:09.837 Using SSH protocol version 2
. 2017-04-18 08:51:14.352 Have a known host key of type rsa2
. 2017-04-18 08:51:16.353 Doing Diffie-Hellman group exchange
. 2017-04-18 08:51:17.259 Doing Diffie-Hellman key exchange with hash SHA-256
. 2017-04-18 08:51:19.743 Host key fingerprint is:
. 2017-04-18 08:51:21.884 ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70
. 2017-04-18 08:51:22.915 Verifying host key rsa2 0x10001,0xcec8a3458cd5c815 353245f571c11c53 bf7a7c4b186b020d 226c46634e22576c accb81166a77327a deea177922c9e873 f851a7d91c834f97 b1b2bd413d4dd78f f9231179aa027c8a 275c59804c23de4f 469900d6fa948e79 06f7416b50a96b91 3055e5589062a823 9c499dc13366597a eefa115acaa2fe13 fb86393294dece2d 823b4f95ee16e048 de5c74f3f2d25024 ff755d4468d3c423 f99292125c4a675c a2918f9794e7a371 3efbebe20d3656c9 8641e3e312ee45f2 fc1da66eaef17932 ee40d9913de41f66 c14c6a716b224c5e 3bddea1e237ce8bb 119288c8a10c1ef1 c7490891e90dd78e a8fcb5ce0567464e 692d7e5ee2cecb15 07b2fb58cd7eb2e5 with fingerprint ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70
. 2017-04-18 08:51:26.533 Host key matches configured key
. 2017-04-18 08:51:30.773 Initialised AES-256 SDCTR client->server encryption
. 2017-04-18 08:51:30.913 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-04-18 08:51:31.087 Initialised AES-256 SDCTR server->client encryption
. 2017-04-18 08:51:31.287 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2017-04-18 08:51:32.155 Using username "company.serverinc.net\username".
. 2017-04-18 08:51:33.075 Server offered these authentication methods: password,publickey
. 2017-04-18 09:24:05.524 --------------------------------------------------------------------------
. 2017-04-18 09:24:05.696 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2017-04-18 09:24:11.649 Configuration: \\SSS-DD3\reports\WinSCP\WinSCP.ini
. 2017-04-18 09:24:11.978 Log level: Normal
. 2017-04-18 09:24:12.259 Local account: HPL\p-serveruser
. 2017-04-18 09:24:12.415 Working directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
. 2017-04-18 09:24:12.524 Process ID: 1772
. 2017-04-18 09:24:12.681 Command-line: "\\SSS-DD3\reports\WinSCP\WinSCP.exe" -script="\\SSS-DD3\Reports\SQL\FTPscriptwParameters.txt" -parameter "\\SSS-DD3\reports\Accounts\Name\" "/FOLDERS/HOME/Company/Reports/Name/" -log="\\SSS-DD3\reports\Accounts\Name\log.txt"
. 2017-04-18 09:24:12.915 Time zone: Current: GMT-5, Standard: GMT-6 (Central Standard Time), DST: GMT-5 (Central Daylight Time), DST Start: 3/12/2017, DST End: 11/5/2017
. 2017-04-18 09:24:12.946 Login time: Tuesday, April 18, 2017 9:24:12 AM
. 2017-04-18 09:24:12.946 --------------------------------------------------------------------------
. 2017-04-18 09:24:12.962 Script: Retrospectively logging previous script records:
> 2017-04-18 09:24:12.978 Script: option batch continue
< 2017-04-18 09:24:12.978 Script: batch continue
< 2017-04-18 09:24:12.978 Script: reconnecttime 120
> 2017-04-18 09:24:12.978 Script: option confirm off
< 2017-04-18 09:24:12.978 Script: confirm off
> 2017-04-18 09:24:12.993 Script: open sftp://company.servername.net\username:***@SJC-FTP.servername.net -passive -hostkey="ssh-rsa 2048 2e:4b:b7:ab:ee:6d:ea:c5:60:e8:a5:4e:50:23:09:70"
. 2017-04-18 09:24:12.993 --------------------------------------------------------------------------
. 2017-04-18 09:24:12.993 Session name: company.servername.net\username@SJC-FTP.servername.net (Ad-Hoc site)
. 2017-04-18 09:24:12.993 Host name: SJC-FTP.servername.net (Port: 22)
. 2017-04-18 09:24:13.009 User name: company.servername.net\username (Password: Yes, Key file: No, Passphrase: No)
. 2017-04-18 09:24:13.024 Tunnel: No
. 2017-04-18 09:24:13.274 Transfer Protocol: SFTP
. 2017-04-18 09:24:13.915 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-18 09:24:14.556 Disable Nagle: No
. 2017-04-18 09:24:15.868 Proxy: None
. 2017-04-18 09:24:16.618 Send buffer: 262144
. 2017-04-18 09:24:17.337 SSH protocol version: 2; Compression: No
. 2017-04-18 09:24:17.743 Bypass authentication: No
. 2017-04-18 09:24:18.290 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-18 09:24:19.337 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-18 09:24:19.837 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-18 09:24:20.290 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-18 09:24:21.353 Simple channel: Yes
. 2017-04-18 09:24:23.665 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-18 09:24:24.978 Shell: default
. 2017-04-18 09:24:26.681 EOL: LF, UTF: Auto
. 2017-04-18 09:24:26.978 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-18 09:24:27.743 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-18 09:24:27.993 SFTP Bugs: Auto,Auto
. 2017-04-18 09:24:28.353 SFTP Server: default
. 2017-04-18 09:24:28.587 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-04-18 09:24:29.431 Cache directory changes: Yes, Permanent: Yes
. 2017-04-18 09:24:29.915 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-18 09:24:30.165 DST mode: Unix
. 2017-04-18 09:24:30.353 --------------------------------------------------------------------------
. 2017-04-18 09:39:52.723 --------------------------------------------------------------------------
. 2017-04-18 09:39:53.567 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)