cURL / Mailing Lists / curl-users / Single Mail

curl-users

location + remote-name = 'wrong' filename

From: Neville Longbottom <karlheinz_at_mail.com>
Date: Tue, 08 Feb 2005 08:46:13 -0500

Hi.

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?

For example:
curl -LO http://u.r.l/foo.cgi?useful--LATEST.tgz
The cgi sends back a "Location: http://u.r.l/useful--1.3.tgz"

I'd like to get a 'useful--1.3.tgz'; but cURL gives me a 'useful--LATEST.tgz'

Thanks,
Karl

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
Received on 2005-02-08