cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Reading files to be downloaded from a file

From: Christopher Stone <listmeister_at_thestoneforge.com>
Date: Sat, 30 Oct 2010 03:34:56 -0500

On Oct 29, 2010, at 19:16, Carmel wrote:
> I was wondering if it is possible to use a file that contains a list of addresses or files to be download with curl.
______________________________________________________________________

Hey Carmel,

Yes you certainly can - look for the following on the man page:

        -K/--config <config file>

http://curl.haxx.se/docs/manpage.html

There are a couple of examples.

I routinely write urls to a file and then let cURL go to town on the list. At times I add in referer pages, and I nearly always introduce a user agent.

--
Chris
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-30