HTTrack Website Copier
Free software offline browser - FORUM
Subject: File not found behavior WAS: HTTrack replaces...
Author: Maximilian
Date: 11/27/2002 17:28
 
Hello Xavier,

thank you for your quick response. I was using WinHTTrack 
3.01 before and installed version 3.22-3 over the old one - 
I did no uninstall before. Maybe this has caused the 
problem. Erasing all files in the hts-folder but 
winprofile.ini did the trick. Thank you.

Unfortunately I've to come up with another issue: 
On my page /products/index.jsp is a JavaScript function 
with the following statement "var imageExtension 
= '.jpg';". HTTrack tries to download /products/.jpg but as 
you might have expected, this file doesn't exist and so 
your tool leaves the JavaScript as it was. But to my 
surprise HTTrack then creates a file called .jpg in the 
folder products, containing the 404 error message sent from 
the server. I've attached the debug log of a test session I 
did with Wget in order to make sure the server sends the 
correct http status. BTW: The application server in the 
background is JRun.

Regards
Maximilian

---[wget.log]---
DEBUG output created by Wget 1.5.3.1 on Windows.
parseurl (http://www.internal.lan/products/.jpg) -> host 
www.internal.lan -> opath products/.jpg -> dir products -> 
file .jpg -> ndir products
--16:55:53--  <http://www.internal.lan:80/products/.jpg>
           => `products/.jpg'
Connecting to www.internal.lan:80... Created fd 364.
connected!
---request begin---
GET /products/.jpg HTTP/1.0
User-Agent: Mozilla/4.7 [de] (WinNT; I)
Host: www.internal.lan:80
Accept: */*
---request end---
HTTP request sent, awaiting response... HTTP/1.1 404 Not 
found
2 Server: Netscape-Enterprise/4.1
3 Date: Wed, 27 Nov 2002 15:56:36 GMT
4 Content-type: text/html
5 Connection: close
Closing fd 364
16:55:54 ERROR 404: Not found.
FINISHED --16:55:54--
Downloaded: 0 bytes in 0 files
---[wget.log end]---
 
Reply Create subthread


All articles

Subject Author Date
Re: HTTrack replaces stylesheet.css with garbage file

11/26/2002 07:36
File not found behavior WAS: HTTrack replaces...

11/27/2002 17:28
Re: File not found behavior WAS: HTTrack replaces...

11/29/2002 20:05




3

Created with FORUM 2.0.11