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-Bugs-3033742 ] redirect URL causes curl to save to wrong filename

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 23 Jul 2010 20:05:50 +0000

Bugs item #3033742, was opened at 2010-07-23 20:03
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3033742&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: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: sandys ()
Assigned to: Daniel Stenberg (bagder)
Summary: redirect URL causes curl to save to wrong filename

Initial Comment:
 curl -LO http://pl2.php.net/get/php-5.2.13.tar.gz/from/pl.php.net/mirror
causes the downloaded file to be named "mirror", whereas wget saves it to php-5.2.13.tar.gz correctly.

Curl is maybe fixing the name too early in the redirect process.

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

>Comment By: sandys ()
Date: 2010-07-23 20:05

Message:
curl 7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k
zlib/1.2.3.3 libidn/1.15
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

Ubuntu 10.04 64-bit

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3033742&group_id=976
Received on 2010-07-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET