cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: SourceForge.net <noreply_at_sourceforge.net>
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:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=741193&group_id=976

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.

gyepi_at_sourceforge.net

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=741193&group_id=976

-------------------------------------------------------
This SF.net 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. http://www.objectstore.net/sourceforge
Received on 2003-05-21