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-2192220 ] Curl keep special character in filename when saving

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 24 Oct 2008 18:05:22 +0000

Bugs item #2192220, was opened at 2008-10-24 08:58
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2192220&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: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: joe chan (joe1203)
Assigned to: Daniel Stenberg (bagder)
Summary: Curl keep special character in filename when saving

Initial Comment:
Curl Win32 - Generic 7.19.0

When I d/l a url with get request like this
curl -O "http://xxx.com/a.php?id=3"
, curl will save the filename as "a.php?id=3" and complain saving fail.

I think curl should have a command to remove the OS specific special characters in the remote-filename

In Winget, it has a command to convert OS specific special characters to handle this problem

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

>Comment By: Dan Fandrich (dfandrich)
Date: 2008-10-24 11:05

Message:
There's already a function to handle this for DOS and it looks like it
could be used almost directly for Windows, too. Can you try the attached
patch?
File Added: fn.diff

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2192220&group_id=976
Received on 2008-10-24

These mail archives are generated by hypermail.

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

File upload with ASP.NET