cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: location + remote-name = 'wrong' filename

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 8 Feb 2005 23:21:42 +0100 (CET)

On Tue, 8 Feb 2005, Neville Longbottom wrote:

> If I use the location and the remote-name parameter in combination, I would
> expect cURL to use the filename of the NEW location. But it does not - did I
> miss a command-option or is this behaviour intended?

This is intended. The file name to use is picked from the URL you provide to
it, curl does not attempt to figure out the name any other way.

I should clarify this in the manual.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-08