cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: -O option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Dec 2001 09:21:00 +0100 (MET)

On 4 Dec 2001, Jason Mancini wrote:

> Say you have a list of FTP addresses to download in a file named
> "ftp-list.txt".
>
> $ cat ftp-list.txt | xargs curl -O -O -O [...]
>
> Curl _needs_ an "-Oalways" flag -- all addresses on the command line use
> the base filename to store locally. Else a script must precount the # of
> URLs, construct the proper number of "-O"s...

I can't but agree with you on this one. I've missed such an option myself!

Would you be capable of providing us with a patch that introduces such an
option?

> The re-use connection feature is very cool!

Yeah, I like it!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-12-05