cURL / Mailing Lists / curl-users / Single Mail


[ curl-Bugs-741193 ] -O option does not apply to config file urls

From: <>
Date: Wed, 21 May 2003 08:48:29 -0700

Bugs item #741193, was opened at 2003-05-21 08:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: -O option does not apply to config file urls

Initial Comment:
When curl is invoked with the flags " -O --config -"
and multiple urls
are presented on curl's stdin, only the contents of the
first url is written to a file. All the others are
printed to stdout.

This behaviour can be corrected by sending the
"remote-name" option to curl's stdin rather than
specifiying it as a commandline option.

I have confirmed this on curl-7.10.5.

The attached sh script details the incorrect behaviour.


You can respond by visiting:

This email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software.
Received on 2003-05-21