SSH & SCP - WeOnlyDo Discussion board

SSH & SCP (General questions)

by Andrew, Monday, August 23, 2004, 23:36 (7397 days ago)

I'm trying to implement ssh vb component sample 5 (transferring a file through SCP) with openSSH on windows (http://sshwindows.sourceforge.net/).

It seems like it completes the send randomly. Sometimes when I click upload (a 2k file) it won't create the file on the remote server. I've enabled recieved debugging msg, and when this behavior happens, it tells me 1212 bytes recieved. It will also create the file with zero bytes and output the same status. When I click upload again, I can still be left without any remote file. Eventually it returns 1212 bytes recieved, then either 1213 bytes recieved or 1214 bytes recieved on the subsequent line. The file is successfully transferred in those instances.

The behavior does not change when protcol is set to auto or ssh2.

Any ideas?


Complete thread: