Daniel Stenberg wrote: > Anyone has any particular thoughts, observations or recent measurements done > in regards to SFTP performance with libssh2? > > As I recall things libssh2 is not up to par with other implementations > speed-wise and I might just be digging into this soon.
I tried implementing file transfer libssh2_sftp_read(), libssh2_sftp_write(), but it was by far too slow compared to scp(1). I didn't keep the measurements, though. Although it doesn't help you, it's possible to get as fast as scp(1) using libssh2_channel_read/write. My goal always was to be at least as fast as "scp" (if not faster). For me there still is the problem that scp(1) is much faster copying multiple files, because it startes one single "scp" process on the remote side sending multiple files while I use one remote "scp" for each file. Heiner ------------------------------------------------------------------------------ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel