| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
RE: [ curl-Bugs-631028 ] Fails saveing using -O if URL has spaces
From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Wed, 6 Nov 2002 08:23:09 -0500
Just curious whether this logic would make sense:
curl examines the URL as given to it. If it finds any non-standard URL characters in the path or filename parts (e.g. " ", but not any of "/#?&%+...") then it URL-encodes each filename or path part before sending to the remote computer, else it sends it as is. Either way, if "-O" is used, the file name as given by the user should be used.
If it could be written in a "safe" enough manner, it should be the default behavior, which could be disabled by a special flag if needed.
--Kevin
-----Original Message-----
On Wed, 6 Nov 2002, Philippe Lhoste wrote:
> > curl -O http://1.0.0.111/Copy%20of%20tagada.shtml
> That's not very nice, perhaps here Curl should transform all URL entities
... or use -o to provide whatever name you think is fit. ;-)
-------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info