cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using Curl to FTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Jun 2007 13:52:59 +0200 (CEST)

On Wed, 27 Jun 2007, Park Darkness wrote:

> I think the ftp connection will not be closed after each upload.

You think wrong. If you use curl to upload a single file, both the connections
are always closed.

> I am trying to upload multiple files thus the number of connections to the
> ftp server seems to keep increasing.

They "seem" so? How do you determine that and why do you think curl is to
blame?

> Is there any way that i can set the connection to be closed once after an
> upload?

When curl exits, it cannot keep the connection open.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-27