HTTrack Website Copier
Free software offline browser - FORUM
Subject: Asp problem on a cookie based password site
Author: Andy
Date: 10/22/2004 13:54
 
Hi, I have checked the forum and don't think I can find an 
answer to the problem I am having.

The site is a password protected site using cookies (I 
have changed the domain name), and I have copied the 
releveant cookies from IE to the cookies.txt file in the 
project. The download starts off ok and everything is 
going fine. But then suddenly part way through the 
download all the files from the protected area of the site 
get replaced with a "Page has moved" text file created by 
HTTrack, e.g. the file bob06_5.jpg should obviously be a 
jpg file but it has been replaced with the following text:

This is Bob6_5.jpg file:

<HTML>
<!-- Created by HTTrack Website Copier/3.32-2 
[XR&CO'2004] -->
<HEAD>
<TITLE>Page has moved</TITLE>
</HEAD>
<BODY>
<META HTTP-EQUIV="Refresh" CONTENT="0; 
URL=../../../../../../ticket/getticket5ada.html?url=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs%2Fbob06%5F5%
2Ejpg">
<A HREF="../../../../../../ticket/getticket5ada.html?url=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs%2Fbob06%5F5%
2Ejpg"><B>Click here...</B></A>
</BODY>
<!-- Created by HTTrack Website Copier/3.32-2 
[XR&CO'2004] -->
</HTML>

This is Bob6_6.jpg file:


<HTML>
<!-- Created by HTTrack Website Copier/3.32-2 
[XR&CO'2004] -->
<HEAD>
<TITLE>Page has moved</TITLE>
</HEAD>
<BODY>
<META HTTP-EQUIV="Refresh" CONTENT="0; 
URL=../../../../../../ticket/getticketd4f5.html?url=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs%2Fbob06%5F6%
2Ejpg">
<A HREF="../../../../../../ticket/getticketd4f5.html?url=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs%2Fbob06%5F6%
2Ejpg"><B>Click here...</B></A>
</BODY>
<!-- Created by HTTrack Website Copier/3.32-2 
[XR&CO'2004] -->
</HTML>

If I look in the log file I get the following (note the 
time delay between logs is because the download was 
paused):


09:19:16	Info: 	engine: transfer-status: link 
added: 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/bob06_5.jpg -
> E:/Offline 
explorer/Somewhere/www.somewhere.com/PRIVATE/Vol/VOL02/bob/
bob06/bob06_5.jpg

10:19:06	Warning: 	File has moved from 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/thumbs/bob06_
5.jpg to
<http://www.somewhere.com:80/ticket/getticket.asp?url=%2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs>%
2Fbob06%5F5%2Ejpg
10:19:08	Warning: 	File has moved from 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/bob06_6.jpg 
to <http://www.somewhere.com:80/ticket/getticket.asp?url>=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fbob06%5F6%2Ejpg

10:19:09	Warning: 	File has moved from 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/thumbs/bob06_
6.jpg to
<http://www.somewhere.com:80/ticket/getticket.asp?url=%2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs>%
2Fbob06%5F6%2Ejpg

10:19:11	Warning: 	File has moved from 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/bob06_7.jpg 
to <http://www.somewhere.com:80/ticket/getticket.asp?url>=%
2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fbob06%5F7%2Ejpg

10:19:13	Warning: 	File has moved from 
www.somewhere.com/PRIVATE/Vol/VOL02/bob/bob06/thumbs/bob06_
7.jpg to
<http://www.somewhere.com:80/ticket/getticket.asp?url=%2Fprivate%2Fvol%2Fvol02%2Fbob%2Fbob06%2Fthumbs>%
2Fbob06%5F7%2Ejpg

Once these messages have started they carry on and no 
more "correct" files are retrieved. Has the pausing got 
anything to do with it, although I am sure on a previous 
attempt it just started happening after a period of time.

I have added the following filters in case it was the 
domain that had slightly changed name causing problems

+*www.somewhere.com*/*
+*www.somewhere.com:80*

I have to admit I am not an expert when it comes to 
cookies and asp pages etc. so any help would be greatly 
appreciated.
 
Reply


All articles

Subject Author Date
Asp problem on a cookie based password site

10/22/2004 13:54
Re: Asp problem on a cookie based password site

10/29/2004 18:59




a

Created with FORUM 2.0.11