cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Why is upload with curl slow?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Dec 2008 13:44:48 +0100 (CET)

On Mon, 8 Dec 2008, Thorsten Schanno wrote:

> If I do a multiperform with 2 files to upload, they are uploaded both with
> 160 kb/sec.
>
> Can anyone explain me this? Is there perhaps an option I forgot to set?

There's no magic "make things run faster" option, no.

> If I move a file via filezilla I get the full bandwidth of some
> Megabyte/sec.

And that also just uses one single FTP connection?

I can't explain why you experience this. libcurl doesn't do much besides
sending away data while your in the upload phase so I don't know how it could
be that huge speed difference. I figure you need to start digging into
checking system calls, buffer size etc to see how the two differs and what we
can do to make the libcurl-using one run faster.

I assume this is a recent libcurl version (on Windows) ?

-- 
  / daniel.haxx.se
Received on 2008-12-08