On Sat, 20 Dec 2008, Heiner Steven wrote:

>> 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.

But how is a comparison between libssh2's SFTP and scp fair? SFTP is one 
protocol layer more, and a round-trip "intensive" one too, so there's hardly a 
surprise to me that SFTP in general is slower than SCP.

I'm more curious on how big speed difference there might be between for 
example openssh's sftp tool and libssh2's sftp implementation.

Changing protocol or changing to another lib/tool is not an option for me.

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to