HTTrack Website Copier
Free software offline browser - FORUM
Subject: .xls stored as .htm (moved treated redirect)
Author: Vipo
Date: 06/21/2004 17:26
 
I can't download a .xls file(within a redirect?). It is 
stored as plain htm file (with wrong name).

BTW: actually i can't download any non text/html file (e.g. 
pdf)

I've got multiple WARNINGS: "moved treated for ..."
 
Otherwise i was deeply impressed with the quality of the 
captured site!

[=> see debug output]

HTTrack recognizes within a html redirect of a php-output 
("mydownloads/visit.php?lid=1") that the real file is 
located under "real one is 
localhost/../Featurelist_WS_20030321.xls".

FYI: php script produces "<meta http-equiv="Refresh" 
content="0; 
URL=http://localhost/xoops/downloads/Featurelist_WS_20030321
.xls>" redirect page.

Then it seems to build a correct local name ("engine: save-
name: local name: ...").

But if i click on a saved local link i get a text/html file 
(".../mydownlo/visitee5.htm") instead of the assumed .xls 
file.

BTW: the visitee5.htm is in turn the original .xls file 
(with the wrong extension .htm and a new name - build 
from "visit.php"?).

What do i miss?
=== relevant debug output ===

HTTrack3.32-2+swf launched on Mon, 21 Jun 2004 16:49:46 at 
<http://localhost/xoops/modules/mydownloads/> +*.css +*.js -
ad.doubleclick.net/* +*.gif +*.jpg +*.png +*.tif +*.bmp 
+*.zip +*.tar +*.tgz +*.gz +*.rar +*.z +*.exe +*.mov +*.mpg 
+*.mpeg +*.avi +*.asf +*.mp3 +*.mp2 +*.rm +*.wav +*.vob 
+*.qt +*.vid +*.ac3 +*.wma +*.wmv +*/*/downloads*/* +*.xls
(winhttrack -qiC2%Pns2u1Z%sN0L2%I0p3DaK0H0%kf2A25000%f#f -
F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" -%
F "<!-- Mirrored from %s%s by HTTrack Website Copier/3.x 
[XR&CO'2004], %s -->" -%l "en, en, *" 
<http://localhost/xoops/modules/mydownloads/> -O 
C:\Download\xoops_dl\Download_XOOPS,C:\Download\xoops_dl\Dow
nload_XOOPS +*.css +*.js -ad.doubleclick.net/* +*.gif 
+*.jpg +*.png +*.tif +*.bmp +*.zip +*.tar +*.tgz +*.gz 
+*.rar +*.z +*.exe +*.mov +*.mpg +*.mpeg +*.avi +*.asf 
+*.mp3 +*.mp2 +*.rm +*.wav +*.vob +*.qt +*.vid +*.ac3 
+*.wma +*.wmv +*/*/downloads*/* +*.xls -%A 
php3,php,php2,asp,jsp,pl,cfm,nsf=text/html )

Information, Warnings and Errors reported for this mirror:
note:	the hts-log.txt file, and hts-cache folder, may 
contain sensitive information,
	such as username/password authentication for 
websites mirrored in this project
	do not share these files/folders if you want these 
information to remain private
	
16:49:51	Debug: 	Wait get: 
localhost/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60
16:49:51	Warning: 	Found for 
localhost/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60
16:49:51	Debug: 	wizard link test for moved file at 
localhost/xoops/downloads/Featurelist_WS_20030321.xls..
16:49:51	Debug: 	wizard test begins: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls
16:49:51	Debug: 	Compare addresses: 
localhost=localhost
16:49:51	Debug: 	build relative links to 
test: ../../downloads/Featurelist_WS_20030321.xls ../../down
loads/Featurelist_WS_20030321.xls 
(with /xoops/modules/mydownloads/ 
and
/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60)
16:49:51	Debug: 	upper link canceled: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls
16:49:51	Debug: 	near link authorized: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls
16:49:51	Debug: 	(wizard) explicit authorized 
(+*.xls) link: link 
localhost/xoops/downloads/Featurelist_WS_20030321.xls at 
localhost/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60
16:49:51	Debug: 	(wizard) shared foreign domain 
link: link 
localhost/xoops/downloads/Featurelist_WS_20030321.xls at 
localhost/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60
16:49:51	Debug: 	moved link accepted: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls
16:49:51	Warning: 	Warning moved treated for 
localhost/xoops/modules/mydownloads/visit.php?lid=1&PHPSESSID=a62811b50cd261073967109037bade60
(real one 
is localhost/xoops/downloads/Featurelist_WS_20030321.xls)
16:49:51	Info: 	engine: save-name: local name: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls -> 
localhos/xoops/download/Featurel.xls

...

16:49:52	Debug: 	File confirmed (size test): 
localhost/xoops/downloads/Featurelist_WS_20030321.xls (28)
16:49:52	Debug: 	(Keep-Alive): successfully linked 
#19 (for 
localhost/xoops/downloads/Featurelist_WS_20030321.xls)

...
16:49:52	Debug: 	File confirmed (size test): 
localhost/xoops/downloads/Featurelist_WS_20030321.xls (0)
16:49:53	Debug: 	File loaded after test from cache: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls
16:49:53	Info: 	engine: transfer-status: link 
recorded: 
localhost/xoops/downloads/Featurelist_WS_20030321.xls -> 
C:/Download/xoops_dl/Download_XOOPS/localhos/xoops/modules/m
ydownlo/visitee5.htm
 
Reply


All articles

Subject Author Date
.xls stored as .htm (moved treated redirect)

06/21/2004 17:26
Re: .xls stored as .htm (moved treated redirect)

06/27/2004 10:29
Re: .xls stored as .htm (moved treated redirect)

03/09/2005 22:50




5

Created with FORUM 2.0.11