Am Sonntag, den 19.02.2012, 07:27 +0100 schrieb yellow:

> wget -k "link"
> 
> --2012-02-19 07:24:16--  http://www.site/clic.php?num=444
> Resolving www.
> Connecting to www.    :80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: http://download.  site .zip [following]
> --2012-02-19 07:24:16--  http:// bla /bla.zip
> Resolving site.org... 
> 
> and one get a file : clic.php?num=444
> instead of :  bla.zip
> 
> I hope that it could work...

The following option should give you the desired result:

       --trust-server-names
           If this is set to on, on a redirect the last component of the 
redirection URL will
           be used as the local file name.  By default it is used the last 
component in the
           original URL.



-- 
Noël Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to