Hi
I am trying to transfer a fairly simple text file onto a remote sftp site.
The process is called from a vbscript using WINSCP's console utility. We have successfully transferred files of simialr type and content. Attached is the log file contents.
I have looked at the file in question and can't see any visible signs of corruption or file locking etc
. 2008-06-06 11:57:35.623 --------------------------------------------------------------------------
. 2008-06-06 11:57:35.623 Looking up host "62.160.47.14"
. 2008-06-06 11:57:35.623 Connecting to 62.160.47.14 port 22
. 2008-06-06 11:57:35.686 Server version: SSH-2.0-XFB.Gateway Windows
. 2008-06-06 11:57:35.686 We claim version: SSH-2.0-WinSCP_release_4.1.2
. 2008-06-06 11:57:35.701 SSPI: acquired credentials for: JamesB@MMGROUP
. 2008-06-06 11:57:35.701 Cannot convert IP address to SPN: DNS is not trusted
. 2008-06-06 11:57:35.701 GSSKEX disabled: The operation completed successfully.
. 2008-06-06 11:57:35.701 Using SSH protocol version 2
. 2008-06-06 11:57:35.717 Doing Diffie-Hellman group exchange
. 2008-06-06 11:57:35.998 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-06-06 11:57:36.108 Host key fingerprint is:
. 2008-06-06 11:57:36.108 ssh-rsa 1023 7e:1f:c2:86:d0:a3:4c:73:a9:fa:50:30:96:2a:d9:60
. 2008-06-06 11:57:36.108 Initialised AES-128 CBC client->server encryption
. 2008-06-06 11:57:36.108 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-06-06 11:57:36.108 Initialised AES-128 CBC server->client encryption
. 2008-06-06 11:57:36.108 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-06-06 11:57:36.326 Using username "FORMPRO_CLIENT".
. 2008-06-06 11:57:36.373 Prompt (6, SSH password, , &Password: )
. 2008-06-06 11:57:36.373 Using stored password.
. 2008-06-06 11:57:36.373 Sent password
. 2008-06-06 11:57:36.405 Access granted
. 2008-06-06 11:57:36.436 Opened channel for session
. 2008-06-06 11:57:36.467 Started a shell/command
. 2008-06-06 11:57:36.467 --------------------------------------------------------------------------
. 2008-06-06 11:57:36.467 Using SFTP protocol.
. 2008-06-06 11:57:36.467 Doing startup conversation with host.
> 2008-06-06 11:57:36.467 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-06-06 11:57:36.498 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-06-06 11:57:36.498 SFTP version 3 negotiated.
. 2008-06-06 11:57:36.498 We believe the server has signed timestamps bug
. 2008-06-06 11:57:36.498 We will use UTF-8 strings for status messages only
. 2008-06-06 11:57:36.498 Getting current directory name.
. 2008-06-06 11:57:36.498 Getting real path for '.'
> 2008-06-06 11:57:36.498 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2008-06-06 11:57:36.530 Type: SSH_FXP_NAME, Size: 99, Number: 16
. 2008-06-06 11:57:36.530 Real path is '/'
. 2008-06-06 11:57:36.530 Startup conversation with host finished.
. 2008-06-06 11:57:36.545 Cached directory change via "ARRIVEE" to "/ARRIVEE".
. 2008-06-06 11:57:36.545 Getting current directory name.
. 2008-06-06 11:57:36.545 Cached directory change via "MAINFRAME" to "/ARRIVEE/MAINFRAME".
. 2008-06-06 11:57:36.545 Getting current directory name.
. 2008-06-06 11:57:36.545 Copying 1 files/directories to remote directory "/ARRIVEE/MAINFRAME"
. 2008-06-06 11:57:36.545 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: N (102400); CalcS: No; Mask:
. 2008-06-06 11:57:36.545 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2008-06-06 11:57:36.545 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2008-06-06 11:57:36.545 File: "FORX02.DAT"
. 2008-06-06 11:57:36.545 Copying "FORX02.DAT" to remote directory started.
. 2008-06-06 11:57:36.545 Binary transfer mode selected.
. 2008-06-06 11:57:36.545 Opening remote file.
> 2008-06-06 11:57:36.545 Type: SSH_FXP_OPEN, Size: 54, Number: 259
< 2008-06-06 11:57:36.576 Type: SSH_FXP_HANDLE, Size: 10, Number: 259
> 2008-06-06 11:57:36.576 Type: SSH_FXP_WRITE, Size: 2871, Number: 774
> 2008-06-06 11:57:36.576 Type: SSH_FXP_CLOSE, Size: 10, Number: 1028
> 2008-06-06 11:57:36.576 Type: SSH_FXP_SETSTAT, Size: 50, Number: 521
. 2008-06-06 11:57:36.655 Disconnected: All channels closed
. 2008-06-06 11:57:36.655 Fatal error while disposing the SFTP queue.
. 2008-06-06 11:57:36.655 Connection was lost, asking what to do.
. 2008-06-06 11:57:36.655 Asking user:
. 2008-06-06 11:57:36.655 Connection has been unexpectedly closed. Server sent command exit status 0. ()
. 2008-06-06 11:57:42.905 Looking up host "62.160.47.14"
. 2008-06-06 11:57:42.905 Connecting to 62.160.47.14 port 22
. 2008-06-06 11:57:42.967 Server version: SSH-2.0-XFB.Gateway Windows
. 2008-06-06 11:57:42.967 We claim version: SSH-2.0-WinSCP_release_4.1.2
. 2008-06-06 11:57:42.967 SSPI: acquired credentials for: JamesB@MMGROUP
. 2008-06-06 11:57:42.967 Cannot convert IP address to SPN: DNS is not trusted
. 2008-06-06 11:57:42.967 GSSKEX disabled: The operation completed successfully.
. 2008-06-06 11:57:42.967 Using SSH protocol version 2
. 2008-06-06 11:57:42.998 Doing Diffie-Hellman group exchange
. 2008-06-06 11:57:43.248 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-06-06 11:57:43.389 Host key fingerprint is:
. 2008-06-06 11:57:43.389 ssh-rsa 1023 7e:1f:c2:86:d0:a3:4c:73:a9:fa:50:30:96:2a:d9:60
. 2008-06-06 11:57:43.389 Initialised AES-128 CBC client->server encryption
. 2008-06-06 11:57:43.389 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-06-06 11:57:43.389 Initialised AES-128 CBC server->client encryption
. 2008-06-06 11:57:43.389 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-06-06 11:57:43.655 Using username "FORMPRO_CLIENT".
. 2008-06-06 11:57:43.686 Prompt (6, SSH password, , &Password: )
. 2008-06-06 11:57:43.686 Using stored password.
. 2008-06-06 11:57:43.686 Sent password
. 2008-06-06 11:57:43.733 Access granted
. 2008-06-06 11:57:43.795 Opened channel for session
. 2008-06-06 11:57:43.858 Started a shell/command
. 2008-06-06 11:57:43.858 Doing startup conversation with host.
> 2008-06-06 11:57:43.858 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-06-06 11:57:43.889 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-06-06 11:57:43.889 SFTP version 3 negotiated.
. 2008-06-06 11:57:43.889 We believe the server has signed timestamps bug
. 2008-06-06 11:57:43.889 We will use UTF-8 strings for status messages only
. 2008-06-06 11:57:43.889 Changing directory to "/ARRIVEE/MAINFRAME".
. 2008-06-06 11:57:43.889 Getting real path for '/ARRIVEE/MAINFRAME'
> 2008-06-06 11:57:43.889 Type: SSH_FXP_REALPATH, Size: 27, Number: 1296
< 2008-06-06 11:57:43.920 Type: SSH_FXP_NAME, Size: 118, Number: 1296
. 2008-06-06 11:57:43.920 Real path is '/ARRIVEE/MAINFRAME'
. 2008-06-06 11:57:43.920 Trying to open directory "/ARRIVEE/MAINFRAME".
> 2008-06-06 11:57:43.920 Type: SSH_FXP_LSTAT, Size: 27, Number: 1543
< 2008-06-06 11:57:43.952 Type: SSH_FXP_ATTRS, Size: 37, Number: 1543
. 2008-06-06 11:57:43.952 Getting current directory name.
. 2008-06-06 11:57:43.952 Startup conversation with host finished.
. 2008-06-06 11:57:43.952 File: "FORX02.DAT"
. 2008-06-06 11:57:43.952 Copying "FORX02.DAT" to remote directory started.
. 2008-06-06 11:57:43.952 Binary transfer mode selected.
. 2008-06-06 11:57:43.952 Opening remote file.
> 2008-06-06 11:57:43.952 Type: SSH_FXP_OPEN, Size: 54, Number: 1795
< 2008-06-06 11:57:43.998 Type: SSH_FXP_HANDLE, Size: 10, Number: 1795
> 2008-06-06 11:57:43.998 Type: SSH_FXP_WRITE, Size: 2871, Number: 2310
> 2008-06-06 11:57:43.998 Type: SSH_FXP_CLOSE, Size: 10, Number: 2564
> 2008-06-06 11:57:43.998 Type: SSH_FXP_SETSTAT, Size: 50, Number: 2057
. 2008-06-06 11:57:44.077 Disconnected: All channels closed
. 2008-06-06 11:57:44.077 Fatal error while disposing the SFTP queue.
. 2008-06-06 11:57:44.077 Connection was lost, asking what to do.
. 2008-06-06 11:57:44.077 Asking user:
. 2008-06-06 11:57:44.077 Connection has been unexpectedly closed. Server sent command exit status 0. ()
Any help you can give me will be greatfully received!