curl-users
Re: Windows cURL command line tool output problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 30 Jan 2016 12:11:35 +0100 (CET)
Date: Sat, 30 Jan 2016 12:11:35 +0100 (CET)
On Fri, 29 Jan 2016, Octavio Schroeder wrote:
> Tried downloading a file as follows:
>
> curl www.google.com -o c:\temp\google.html
>
> The output does not get saved in a file called google.html in the C:\temp
> folder but 'c__temp_google.html' in the current working folder.
Ugh, yes this is certainly not intended!
> The advisory indicates that this issue only applies to using the uppercase O
> and J options (and their respective long versions) but it seems to also
> affect the lower-case -o option as well as the --output.
Obviously, yes and I would say that's a rather intrusive and annoying bug.
This is important enough to warrant a patch release asap methinks.
Thanks a lot for pointing this out!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2016-01-30