HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: detecting missing/404 errors for broken file links
Author: Leto
Date: 03/14/2002 03:43
 
> A better implementation is to use a combination of 
> techniques...if not checking for <HTML>, then check 
> the file to see if it matches the type implied by the 
> extension.  (I.e. Read beginning of 'ZIP' file; IF 
> first 2 bytes do not equal 'PK', THEN save as 
> 404filename.zip.html)  (Do similar tests for other 
> file types like RAR, etc)

haha, I guess something like that would work, but it sure gets complicated,
eh! :-)
 
Reply Create subthread


All articles

Subject Author Date
detecting missing/404 errors for broken file links

03/13/2002 19:55
Re: detecting missing/404 errors for broken file links

03/13/2002 22:52
Re: detecting missing/404 errors for broken file links

03/14/2002 01:17
Re: detecting missing/404 errors for broken file links

03/14/2002 03:43




9

Created with FORUM 2.0.11