cURL / Mailing Lists / curl-users / Single Mail

curl-users

Issue with multiple URLs in config file

From: Yoktan <curl_at_yoktan.com>
Date: Wed, 29 Mar 2006 20:08:33 -0500

Hi,

Using curl 7.13.0 on OS X 10.4.5

I am trying to download images from a Kodak photo album. Due to some
restrictions on Kodak's site, the best option seemed to be to capture all
the photo file URLs into a file and use that as my config file to curl.
Somewhere, somehow, however, I can't get curl to download more than the
first file to stdout. The other files all download to stdin.

So here's what I did:

* Config file - exactly as is:

url="http://images.kodakgallery.com/path_to_filename1.jpg"
url="http://images.kodakgallery.com/path_to_filename2.jpg"
url="http://images.kodakgallery.com/path_to_filename3.jpg"

* CLI input:

curl --config 'url_list.txt' --remote-name

n.b. I am using --remote-name because I read a bug submission indicating
that -o has issues with multiple URLs in the config file.

Thx for the help.
Received on 2006-03-30