WINSCP - Sending files multiple time host
Hi,
We are generating file and encrypting it in placing in our server.
When we are running FTP script using WinSCP Version 4.3.2 (Build 1201) (OS 5.2.3790 Service Pack 2). The issue is we have set the timeout to 60 sec.
But scripts on wait for 15 sec and if host confirmation don't come it reconnect and send file again. We don't want to send file again as we are getting response in 18 sec so want to know why the timeout parameter is not getting override in winscp.ini or preference level and why it wait only for 15 sec.
Please find below log output where it does this step.
. 2011-09-29 10:39:57.642 Binary transfer mode selected.
. 2011-09-29 10:39:57.642 Opening remote file.
> 2011-09-29 10:39:57.642 Type: SSH_FXP_OPEN, Size: 82, Number: 259
< 2011-09-29 10:39:57.720 Type: SSH_FXP_HANDLE, Size: 10, Number: 259
> 2011-09-29 10:39:57.720 Type: SSH_FXP_WRITE, Size: 4118, Number: 774
. 2011-09-29 10:39:57.720 2 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-09-29 10:39:57.720 Type: SSH_FXP_CLOSE, Size: 10, Number: 1540
> 2011-09-29 10:39:57.720 Type: SSH_FXP_SETSTAT, Size: 78, Number: 521
< 2011-09-29 10:39:57.751 Type: SSH_FXP_STATUS, Size: 49, Number: 774
. 2011-09-29 10:40:12.751 Waiting for data timed out, asking user what to do.
. 2011-09-29 10:40:12.751 Asking user:
. 2011-09-29 10:40:12.751 Host is not communicating for 15 seconds.
. 2011-09-29 10:40:12.751
. 2011-09-29 10:40:12.751 Wait for another 15 seconds? ()
. 2011-09-29 10:40:12.751 Attempt to close connection due to fatal exception:
* 2011-09-29 10:40:12.751 Terminated by user.
. 2011-09-29 10:40:12.751 Closing connection.
. 2011-09-29 10:40:12.751 Sending special code: 12
. 2011-09-29 10:40:12.751 Sent EOF message
. 2011-09-29 10:40:12.751 Fatal error while disposing the SFTP queue.
. 2011-09-29 10:40:12.751 Connection was lost, asking what to do.
. 2011-09-29 10:40:12.751 Asking user:
. 2011-09-29 10:40:12.751 Terminated by user. ()
< 2011-09-29 10:40:17.844 Script: Searching for host...
. 2011-09-29 10:40:17.844 Looking up host "transmissions.xxxxxxxx.com"
. 2011-09-29 10:40:18.157 Connecting to xxx.x3.x6.x62 port 22
< 2011-09-29 10:40:18.173 Script: Connecting to host...
. 2011-09-29 10:40:18.204 Server version: SSH-2.0-SSHD
. 2011-09-29 10:40:18.204 We believe remote version has SSH-2 ignore bug
. 2011-09-29 10:40:18.204 Using SSH protocol version 2
. 2011-09-29 10:40:18.204 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2011-09-29 10:40:18.235 Using Diffie-Hellman with standard group "group14"
. 2011-09-29 10:40:18.235 Doing Diffie-Hellman key exchange with hash SHA-1
< 2011-09-29 10:40:19.251 Script: Authenticating...
. 2011-09-29 10:40:19.251 Host key fingerprint is:
Thanks
Hitesh
We are generating file and encrypting it in placing in our server.
When we are running FTP script using WinSCP Version 4.3.2 (Build 1201) (OS 5.2.3790 Service Pack 2). The issue is we have set the timeout to 60 sec.
But scripts on wait for 15 sec and if host confirmation don't come it reconnect and send file again. We don't want to send file again as we are getting response in 18 sec so want to know why the timeout parameter is not getting override in winscp.ini or preference level and why it wait only for 15 sec.
Please find below log output where it does this step.
. 2011-09-29 10:39:57.642 Binary transfer mode selected.
. 2011-09-29 10:39:57.642 Opening remote file.
> 2011-09-29 10:39:57.642 Type: SSH_FXP_OPEN, Size: 82, Number: 259
< 2011-09-29 10:39:57.720 Type: SSH_FXP_HANDLE, Size: 10, Number: 259
> 2011-09-29 10:39:57.720 Type: SSH_FXP_WRITE, Size: 4118, Number: 774
. 2011-09-29 10:39:57.720 2 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-09-29 10:39:57.720 Type: SSH_FXP_CLOSE, Size: 10, Number: 1540
> 2011-09-29 10:39:57.720 Type: SSH_FXP_SETSTAT, Size: 78, Number: 521
< 2011-09-29 10:39:57.751 Type: SSH_FXP_STATUS, Size: 49, Number: 774
. 2011-09-29 10:40:12.751 Waiting for data timed out, asking user what to do.
. 2011-09-29 10:40:12.751 Asking user:
. 2011-09-29 10:40:12.751 Host is not communicating for 15 seconds.
. 2011-09-29 10:40:12.751
. 2011-09-29 10:40:12.751 Wait for another 15 seconds? ()
. 2011-09-29 10:40:12.751 Attempt to close connection due to fatal exception:
* 2011-09-29 10:40:12.751 Terminated by user.
. 2011-09-29 10:40:12.751 Closing connection.
. 2011-09-29 10:40:12.751 Sending special code: 12
. 2011-09-29 10:40:12.751 Sent EOF message
. 2011-09-29 10:40:12.751 Fatal error while disposing the SFTP queue.
. 2011-09-29 10:40:12.751 Connection was lost, asking what to do.
. 2011-09-29 10:40:12.751 Asking user:
. 2011-09-29 10:40:12.751 Terminated by user. ()
< 2011-09-29 10:40:17.844 Script: Searching for host...
. 2011-09-29 10:40:17.844 Looking up host "transmissions.xxxxxxxx.com"
. 2011-09-29 10:40:18.157 Connecting to xxx.x3.x6.x62 port 22
< 2011-09-29 10:40:18.173 Script: Connecting to host...
. 2011-09-29 10:40:18.204 Server version: SSH-2.0-SSHD
. 2011-09-29 10:40:18.204 We believe remote version has SSH-2 ignore bug
. 2011-09-29 10:40:18.204 Using SSH protocol version 2
. 2011-09-29 10:40:18.204 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2011-09-29 10:40:18.235 Using Diffie-Hellman with standard group "group14"
. 2011-09-29 10:40:18.235 Doing Diffie-Hellman key exchange with hash SHA-1
< 2011-09-29 10:40:19.251 Script: Authenticating...
. 2011-09-29 10:40:19.251 Host key fingerprint is:
Thanks
Hitesh