cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: a question regarding SFTP using curl

From: Zhonggui Li <zhongguili_at_gmail.com>
Date: Tue, 7 Apr 2009 15:44:58 +0200

2009/4/7 Daniel Stenberg <daniel_at_haxx.se>

> On Tue, 7 Apr 2009, Zhonggui Li wrote:
>
> But the transmission is quite slow so it's not acceptable for the server
>> program. And it would be too much work to upgrade the libaries within the
>> timeframe we have.
>>
>
> Do you have any suggestions?
>>
>
> 1. Stop top-posting. I'm starting to not respond to top-posters so if you
> want
> answers you (everyone!) need to follow the netiquette.
>
> 2. Consider using the multi interface as that allows multiple simultaneous
> uploads without using threads. And for SFTP you will want to use several
> upload connections for maximum performance.
>
> 3. If you want to remain multi-threaded, use the SSL library mutex
> callbacks.
>
> 4. If you want faster performance (and more stable operation) you upgrade
> libcurl and libssh2.
>
> --
>
> / daniel.haxx.se
>

Thanks. I am a newbie in this forum and for Curl. how do i set the buffer
size that is used in readfunction (the callback function)?
I figured out it's currently set to 1..
Received on 2009-04-07