HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: missing .jpg extension
Author: JOSE
Date: 02/03/2008 00:46
 
> > some jpg on a website have missing .jpg extension,
> yet 
> > showing OK in webbrowser. But when downloaded with
> 
> httrack, 
> > those jpg all got .html extension. Is it possible
> to fix 
> it 
> > with MIME tweak? and how?> 
> Err, this is weird, as the engine should test (test
> type) 
> the MIME type, and then rename the file into .jpg..
> except 
> if you disabeld the type checking, or if the server
> sent a 
> bogus MIME type.
> 
> Try to test the site using Netscape 4: unlike
> Explorer, it 
> DOES respect the MIME type sent by the remote
> server. IE 
> tries to be clever, and postprocess the headers
> using the 
> data sent, which is a *BAD* idea.
> 

> > some jpg on a website have missing .jpg extension,
> yet 
> > showing OK in webbrowser. But when downloaded with
> 
> httrack, 
> > those jpg all got .html extension. Is it possible
> to fix 
> it 
> > with MIME tweak? and how?> 
> Err, this is weird, as the engine should test (test
> type) 
> the MIME type, and then rename the file into .jpg..
> except 
> if you disabeld the type checking, or if the server
> sent a 
> bogus MIME type.
> 
> Try to test the site using Netscape 4: unlike
> Explorer, it 
> DOES respect the MIME type sent by the remote
> server. IE 
> tries to be clever, and postprocess the headers
> using the 
> data sent, which is a *BAD* idea.
> 

> > some jpg on a website have missing .jpg extension,
> yet 
> > showing OK in webbrowser. But when downloaded with
> 
> httrack, 
> > those jpg all got .html extension. Is it possible
> to fix 
> it 
> > with MIME tweak? and how?> 
> Err, this is weird, as the engine should test (test
> type) 
> the MIME type, and then rename the file into .jpg..
> except 
> if you disabeld the type checking, or if the server
> sent a 
> bogus MIME type.
> 
> Try to test the site using Netscape 4: unlike
> Explorer, it 
> DOES respect the MIME type sent by the remote
> server. IE 
> tries to be clever, and postprocess the headers
> using the 
> data sent, which is a *BAD* idea.
> 

 
Reply Create subthread


All articles

Subject Author Date
Re: missing .jpg extension

07/30/2002 20:08
Re: missing .jpg extension

02/03/2008 00:46




4

Created with FORUM 2.0.11