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-1364676 ] detect -O filename from last redirect

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 23 Nov 2005 06:27:06 -0800

Feature Requests item #1364676, was opened at 2005-11-23 14:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=1364676&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: anatoly techtonik (techtonik)
Assigned to: Nobody/Anonymous (nobody)
Summary: detect -O filename from last redirect

Initial Comment:
If using -O option to write output file curl tries to
detect filename immediately. Quite often the links from
download sites are intermediary and lead to some kind
of redirect script such as
http://go.microsoft.com/fwlink/?LinkId=51433. When you
try to download this link specifying -O option curl
fails with the following error.

Warning: Failed to create the file ?LinkId=51433
* Failed writing body
100 212 100 212 0 0 106 0 0:00:02
 0:00:01 0:00:01 268* Closing connection #0

Can curl detect filename from last redirect?

Thanks.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=1364676&group_id=976
Received on 2005-11-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET