cURL / Mailing Lists / curl-library / Single Mail


Re: 5 uploads per second

From: Dan Fandrich <>
Date: Mon, 6 Oct 2003 22:49:34 -0700

On Tue, Oct 07, 2003 at 12:13:11AM +0200, Daniel Stenberg wrote:
> On Mon, 6 Oct 2003, Peter Stirzel wrote:
> > I gathered some more information in order to find an easy way to increase
> > the number of uploads per second.
> >
> > I am using the same easy handle for all transfers. See below the
> > CURLOPT_VERBOSE output. What I have learned is that for every upload the cwd
> > command is performed and a new data connection port is opened. This takes
> > app. 200ms for each upload and I wonder if there is a possibility to prevent
> > this.
> Ugh. 200ms is quite some time, so there's the latency explained then.
> Unfortunately, the second TCP connection is required as that's simply the way
> FTP works. There's nothing we can do to work around that!

The original message showed a cwd being done on every file as well. I would
think the current directory could be maintained along with the other state
information for a connection, couldn't it?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Received on 2003-10-07