cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: multiple upload syntax?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Aug 2003 09:36:11 +0200 (CEST)

On Tue, 19 Aug 2003, Jim Doutt wrote:

> Last week I was going to post a question regarding how to do this very
> thing! Thanks for thinking of adding it to CURL!

As a matter of fact, I also implemented it like that yesterday. It even seems
to work! ;-)

> I would like to see the additional ability to have multiple files
> DOWNLOADED from a single URL in a single command.

This is already supported.

> I've been using CURL to transfer data via a common FTP server between an
> embedded system and my development system. Since I don't want to embed my
> password in the script I have to type it every time CURL connects to the
> common site. Having the ability to transfer multiple files would allow me
> to type the password only once per session.

Just add more URLs to the command line, and if you don't want the downloads
sent to stdout, use one -O or -o for each given URL.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
Received on 2003-08-20