cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [SFTP] Problem: libSSH2 is slow

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 18 Apr 2012 19:45:53 +0200 (CEST)

On Wed, 18 Apr 2012, muller_b wrote:

>> This is not anything curl/libcurl does wrong, it's just an effect how a
>> rather stupid protocol (SFTP) and a not perfectly adapted library (libssh2)
>> combines.
>
> As above, I read that there is a speed problem with libssh2 which my program
> might be encoutering and that really limits the transfer speed to 250kB/s at
> its best (while sftp - debian integrated command - performs the same at
> 1.8MB/s). Can you please tell me, if the situation is still the same as in
> 2007 ?

No, it isn't the same.

> If yes, then, does another library only exist ?

It isn't yes, but there still exist another library.

> a library that could be used by libcurl instead of libssh2 in order to
> better support SFTP ?

I think a much better idea would be to work on fixing the libssh2 usage in
libcurl to increase transfer speed...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-18