cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [ curl-Bugs-631028 ] Fails saveing using -O if URL has spaces

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Nov 2002 11:55:48 +0100 (MET)

On Wed, 6 Nov 2002, Philippe Lhoste wrote:

> > curl -O http://1.0.0.111/Copy%20of%20tagada.shtml
> Got it, but wrote "Copy%20of%20tagada.shtml"...

> That's not very nice, perhaps here Curl should transform all URL entities
> (%xx) to corresponding characters. As long as they are not illegal for the
> current OS, which can be tricky to do in a portable way. Or just use a
> script to post-process the file name...

... or use -o to provide whatever name you think is fit. ;-)

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-06