HTTrack Website Copier
Free software offline browser - FORUM
Subject: REQ: set filename extension depending on MIME-type
Author: Bombaret
Date: 10/12/2004 18:01
 
Hi out there!

I have a problem with spidering a webpage wich generates PDF
files. A link to such a file looks like
<http://any.xx/make_pdf.htm?some=attributes>

This page sets the MIME Type in the header to
"application/pdf" so the browser knows a pdf data is sent
back. Also a filename is set in the HTTP-Headers.

HTTrack would save the result in a file with extension HTML,
wich won't start Acrobat if the link is clicked.

My suggestion would be to save that files with .pdf extension.

Thanks.
 
Reply


All articles

Subject Author Date
REQ: set filename extension depending on MIME-type

10/12/2004 18:01
Re: REQ: set filename extension depending on MIME-

10/20/2004 23:02




e

Created with FORUM 2.0.11