cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Feature Requests-2184116 ] add -O analog to parse content-dispostion headers

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 15 Feb 2010 22:11:31 +0000

Feature Requests item #2184116, was opened at 2008-10-21 12:41
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=2184116&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line client
Group: download
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: anatoly techtonik (techtonik)
Assigned to: Daniel Stenberg (bagder)
Summary: add -O analog to parse content-dispostion headers

Initial Comment:
-O option is not enough to make a wget replacement from curl, because it tries to figure out filename from URL. It would be more convenient if curl could parse - content-disposition header to get initial hint about target filename.

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

>Comment By: Daniel Stenberg (bagder)
Date: 2010-02-15 23:11

Message:
added in 7.20.0

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

Comment By: Dan Fandrich (dfandrich)
Date: 2008-10-21 19:16

Message:
This is item 11.1 on the TODO list.

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

Comment By: Daniel Stenberg (bagder)
Date: 2008-10-21 12:56

Message:
First, curl is not targeted at making a wget replacement so that's not
really an argument... (and wget only very recently started to support this
header)

This should be relatively easy to implement by using the header callback
function.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=2184116&group_id=976
Received on 2010-02-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET