curl-users
using curl with an input file [GishPuppy]
Date: Fri, 23 Feb 2007 04:18:20 -0500 (EST)
Hi,
I want to use curl to download 100s of JPGs, possible from from different servers, into a new directory tree with different filenames on WINDOWS. I can generate a list of URL/path+filename mappings which use 1 line per file and the curl -o switch (i.e. http://.../abc.jpg -o path/filename.jpg)
But how can I get (the Windows version of) curl to process each line of the input file?
$curl.exe < input_file.txt <== this did not work.
I found this for unix, http://curl.haxx.se/mail/archive-2003-06/0070.html, but any suggestions for windows? FYI, I also tried to use WGET, but the --input-file param doesn't let me specify the new path/filename of the target file.
M.
Gishpuppy | To reply to this email, click here:
http://www.gishpuppy.com/cgi-bin/edit.py?email=curl-users@cool.haxx.se
Received on 2007-02-23