cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-library Digest, Vol 94, Issue 36

From: Yong Liaw <yong.liaw_at_transmax.com.au>
Date: Sat, 22 Jun 2013 19:45:53 +1000

Hi Dan,

Thank you for your help/pointer.

Date: Fri, 21 Jun 2013 08:08:05 +0200
> From: Dan Fandrich <dan_at_coneharvesters.com>
> To: curl-library_at_cool.haxx.se
> Subject: Re: Downloading multiple files using libcurl sftp
> Message-ID: <20130621060805.GA14590_at_coneharvesters.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Fri, Jun 21, 2013 at 12:06:11PM +1000, Yong Liaw wrote:
> > Does libcurl support downloading multiple files one after another on a
> single
> > sftp connection?
>
> Yes.
>
> > My understanding is that for each?curl_easy_perform(), it establishes a
> new
> > connection for the file transfer.
>
> No, it keeps connections open whenever possible.
>
> > I would like to establish a single connection that I can use to download
> > multiple files, as my sftp server has a long login time (i.e. 15
> seconds).
>
> That's exactly what this features is designed for! See
> http://curl.haxx.se/docs/faq.html#How_do_I_fetch_multiple_files_wi
>
> >>> Dan
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> curl-library mailing list
> curl-library_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
>
>
> ------------------------------
>
> End of curl-library Digest, Vol 94, Issue 36
> ********************************************
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-22