cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem downloading file from a redirect

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 9 May 2005 14:20:29 +0200 (CEST)

On Mon, 9 May 2005 balt3_at_inside.net wrote:

> <meta http-equiv='Refresh' content='0;URL=home.pl'>
> If you see this, your system does not support automatic redirects. <a
> href='home.pl'>Click here to continue</a>
> </body></html>
>
> Weird, I did specify the -L option to follow redirects.

-L makes curl follow HTTP redirects, not this kind of HTML redirects.

You need to manually "follow" this, or possibly write a script that can
extract the URL and (re-)invoke curl properly.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-09