Jeremy Friesner wrote: > I have a program that uses libssh2 to upload a 152MB file
Try not to use scp. Please study the scp protocol, so that you know how your tools actually work. I think you'll quickly find that scp is a pretty bad protocol, and that SFTP would be a better choice. > I note that scp did detect the error, but not until *after* it had > already uploaded all 152MB to the server. That seems odd to me, Study the protocol. And as Bert pointed out, how do you know that it's the local scp process which detects an error? //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
