cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [SFTP] Problem: libSSH2 is slow

From: nithesh salian <nitheshsalian2006_at_gmail.com>
Date: Thu, 24 May 2012 16:32:10 +0530

Hi,

 I am planning to provide SFTP support in my application through CURL.

 Does the below mentioned problem still persist with CURL and libssh2?
 Are the SFTP transfers slow with CURL?

On Wed, Apr 18, 2012 at 11:15 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> 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<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

-- 
Regards,
Nithesh Gangadhar Salian
.

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