bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Filename to save to


From: Volker Kuhlmann
Subject: Re: [Bug-wget] Filename to save to
Date: Fri, 06 Jan 2012 17:04:19 +1300
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.9-desktop; KDE/4.6.0; x86_64; ; )

On Fri, 06 Jan 2012 14:34:59 Mike Frysinger wrote:

> not a bug.  look up "CVE-2010-2252" as to why this is correct default 
> behavior.  use --trust-server-names if you want to use the server name.

Ok so I need a newer wget. It still doesn't save to the correct
filename. Try:

wget --trust-server-names -S 
https://github.com/freetronics/EtherTen/tarball/master

It saves to "master", but should save to
"freetronics-EtherTen-02f9e4e.tar.gz", as supplied by the server in the
http header

  Content-Disposition: attachment; filename=freetronics-EtherTen-02f9e4e.tar.gz

Is there a way to get the job done with wget?

Thanks,

Volker

-- 
Volker Kuhlmann
http://volker.dnsalias.net/     Please do not CC list postings to me.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]