cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: LibCurlNet FTP upload is very slow

From: Kai Blaschke <blaschke_at_dialoop.de>
Date: Fri, 09 Mar 2007 10:42:23 +0100

Daniel Stenberg schrieb:
> On Mon, 5 Mar 2007, Kai Blaschke wrote:
>
>> I am using LibCurlNet with the latest version of the Win32 version of
>> libcurl (7.16.0) on WinXP. My goal is to upload files to a FTP server
>> over SSL from within a .NET 2.0 application, so LibcurlNet seemed to
>> the the perfect choice. Everything works fine so far, except for one
>> drawback: the upload speed is _really_ slow. Even on localhost, I get
>> a maximum speed of about 35 KB/s. Disabling SSL makes no difference
>> at all.
>>
>> I searched the list archives and the internet for this particular
>> problem, but found nothing really helpful. Has someone encountered
>> this behaviour, and is there any solution?
>
> Is the speed any different if you do the same upload with the curl
> command line tool?
>
> Does this only apply to upload and not download?
The command line tool transfers the file at maximum speed in both
directions, but the libcurl download speed is also at 35 KB/s.
Setting CURLOPT_BUFFERSIZE seems to have no effect at all, libcurl
always uses 16384 bytes.
Received on 2007-03-09