On Wednesday 27 July 2005 06:32 am, Francois Liot wrote:
> Hello,
>
> using wget I retrieve from my server :
>   HTTP/1.1 200 OK
>   Date: Wed, 27 Jul 2005 11:13:05 GMT
>   Server: Apache/2.0.54 (Debian GNU/Linux) mod_jk2/2.0.4 PHP/4.3.10-15
>   X-Powered-By: PHP/4.3.10-15
>   Content-Length: 2386
>   Content-Disposition: attachment; filename=2386.zip
>   Keep-Alive: timeout=15, max=100
>   Connection: Keep-Alive
>   Content-Type: application/zip
>
>
> the file is recorded with default name (final URL suffix), instead of
> 2386.zip.
>
> Is it normal ? Can I pass parameter to wget to take in account
> Content-Disposition.

unfortunately, at the moment wget does not honor the Content-Disposition HTTP 
header, but we plan to add this feature in wget 2.0:

http://wget.sunsite.dk/development.shtml

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
Institute for Human & Machine Cognition  http://www.ihmc.us
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to