cURL / Mailing Lists / curl-users / Single Mail

curl-users

Fetching Sequence of Files

From: <d.nordquest_at_juno.com>
Date: Wed, 27 Sep 2006 18:14:51 GMT

Let's say I wish to use curl to obtain five files:

http://memory.loc.gov/cgi-bin/query/D$mjmtext:1:./temp/~ammem_GQ2P::
http://memory.loc.gov/cgi-bin/query/D$mjmtext:2;./temp/~ammem_GQ2P::
http://memory.loc.gov/cgi-bin/query/D$mjmtext:3:./temp/~ammem_GQ2P::
http://memory.loc.gov/cgi-bin/query/D$mjmtext:4:./temp/~ammem_GQ2P::
http://memory.loc.gov/cgi-bin/query/D$mjmtext:5:./temp/~ammem_GQ2P::

I type at the Windows XP prompt:
http://memory.loc.gov/cgi-bin/query/D$mjmtext:[1-5]:./temp/~ammem_GQ2P::

What I can't firgure out is what to type next to get the sequence saved
properly in, say, C:\curl\mad\

It may be that the site serving the files serves them all with the same
name.
However, I can't get the files to save with sequential numbers.

Thanks for the help.

I'm using the command line 1.10 version.

Dave

________________________________________________________________________
Try Juno Platinum for Free! Then, only $9.95/month!
Unlimited Internet Access with 1GB of Email Storage.
Visit http://www.juno.com/value to sign up today!
Received on 2006-09-27