cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: download a file

From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
Date: Sat, 24 Feb 2007 11:48:20 +0100 (CET)

On Sat, 24 Feb 2007, coderacc_at_yahoo.de wrote:

> C:\Programme\curl-7.16.0>curl
> http://sc.gosugamers.net/admin/replays.php?dl=8050
>
> But nothing happens, how can i download files referenced in this way with
> curl?

If you add "-L" as a switch it will work. That will follow the
Location-information of the file.

If you just add the -I switch you will see the header reported by the server
(can be nice to look at to understand).

Do "curl -M" and look on the information for the -L and you understand more.

Good luck.

  // Kjell
Received on 2007-02-24