HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: PDFs mime type wrong when using cache
Author: Stephan
Date: 08/31/2013 16:00
 
> Humm, weird. I can not reproduce the issue with a
> simple example (index.html file => page_xx.html
> files linking to page_xx.pdf) - can you provide a
> non-working example ?
Not easy, as the server is on my localhost and only accessible locally. 

I have a simpler test case which doesn't quite show the same although it does
behave differently for mirror and continue.

Create an index.php with the following content:

<?php
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
readfile('original.pdf');
?> 

Put it into a server directory, together with a file original.pdf.

Then:
httrack --mirror <http://localhost/test> -o "Temp/test" -%v -u2

gives me a file index.pdf, but:

httrack --continue <http://localhost/test> -o "Temp/test" -%v -u2

changes it to downloaded.pdf, same for --continue. 

Not sure if this is the same problem but should it not use the same file name
in both the initial download and the update?
> 
> By the way, are you using the latest release of
> HTTrack ? (3.47.24)

No, it's 3.46 from Ubuntu. 3.47 will be in Ubuntu 13.10 which comes out in
October.

If you can't reproduce the test case above with 3.47 then I'm happy to wait
until 3.47 is out (I don't want to go trhough compiling it at the moment). 



 
Reply Create subthread


All articles

Subject Author Date
PDFs mime type wrong when using cache

08/31/2013 08:40
Re: PDFs mime type wrong when using cache

08/31/2013 14:06
Re: PDFs mime type wrong when using cache

08/31/2013 16:00
Re: PDFs mime type wrong when using cache

09/01/2013 15:59
Re: PDFs mime type wrong when using cache

09/01/2013 21:35
Re: PDFs mime type wrong when using cache

09/18/2013 17:46
Re: PDFs mime type wrong when using cache

05/05/2014 15:23




9

Created with FORUM 2.0.11