On Thu, 1 Feb 2007, Daniel Stenberg wrote:

> My version doesn't do the counting of the bytes received but just calls 
> libssh2_channel_read() assuming it would finally return 0 when the file 
> transfer is completed.

BTW, the need for counting the file size "on your own" certainly opens up for 
the question:

What if I scp a file which doesn't have a known size? Like a named pipe, or a 
file that is being written to while we are transferring?

It feels like a bug to me. But I'll leave that for later anyway...

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to