soybean
http://en.wikipedia.org/wiki/SSH_File_Transfer_ProtocolIts a secure method of file transport using SSH. In my case I am using a key exchange to create the connection.
Yes I mean automated.
WinSCP has a know bug. The server I am connceting to sends a packet after the authorization to start the SFTP session which is not accepted.
Start of log file.......
2011-04-14 10:44:43.582 Using username "XXXXXX".
. 2011-04-14 10:44:45.454 Offered public key
. 2011-04-14 10:44:46.109 Offer of public key accepted
! 2011-04-14 10:44:46.109 Authenticating with public key "XXXXXXXXX"
. 2011-04-14 10:44:46.718 Access granted
. 2011-04-14 10:44:46.749 Opened channel for session
. 2011-04-14 10:44:48.387 Started a shell/command
. 2011-04-14 10:44:48.387 --------------------------------------------------------------------------
. 2011-04-14 10:44:48.387 Using SFTP protocol.
. 2011-04-14 10:44:48.387 Doing startup conversation with host.
> 2011-04-14 10:44:48.403 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2011-04-14 10:44:48.418 Type: SSH_FXP_STATUS, Size: 111, Number: 0
. 2011-04-14 10:44:48.434 Attempt to close connection due to fatal exception:
* 2011-04-14 10:44:48.434 Cannot initialize SFTP protocol. Is the host running a SFTP server?
* 2011-04-14 10:44:48.434 (Exception) Error decoding SFTP packet (111, 4, 111).
. 2011-04-14 10:44:48.434 Closing connection.
. 2011-04-14 10:44:48.434 Sending special code: 12
. 2011-04-14 10:44:48.434 Sent EOF message
* 2011-04-14 10:44:48.434 (ESshFatal) Error decoding SFTP packet (111, 4, 111).
* 2011-04-14 10:44:48.434 Cannot initialize SFTP protocol. Is the host running a SFTP server?
End of log
As you can see it can't create a SFTP session. I talked to the guy running the server and he said that WinSCP and another program called Chilkat. Never heard of that one. Are not supported.
From what I found the server sends a non standard header in the packet which WinSCP can't handle. So it closes the connection.