HTTrack Website Copier
Free software offline browser - FORUM
Subject: Mirror Mirror
Author: CB
Date: 11/11/2012 07:44
 
I am trying copy a mirror (we’ll call webmirror A) I have stored locally to
another location using the WinHTTrack program. Skip to the next paragraph if
you don’t want to get confused … Webmirror A is in a project that contains
numerous other mirrors and I am trying to store (copy) webmirror A to a
different location (to be by itself) and I want to include all the
“external” images that are now stored locally.   Before anyone says “just
copy the directory over, the links are all relative” this case isn’t that
easy: what were originally external files (images, etc.) are now stored
locally with webmirror A in their own folders (ie
www.google.com/images/abc.gif) but I have no way of knowing which of these
“external” (now stored locally) folders goes with which mirror in the
project directory (holding webmirror A and many others), hence why I want to
use WinHTTrack to copy the mirror to another location. I don’t want to
re-mirror the original website and store it in the new location because that
will take way way too long and I have all the files already.

Effectively, I’m trying to mirror a mirror to a new location. The problem I
am having is that webmirror A has relative links in its html files already,
and when the index.html is parsed by WinHTTrack, it can’t seem to find the
html files specified by the relative links… It mirrors the first page fine,
but any links to subsequent html files don’t work … it just gets an error
page such as: 

“Firefox can't find the file at
/C:/TEMP/Local_Test/localhost/G_/Websites/CompanyDir2/www.azeocryst.com/indexe2a8.html?page=corporate_profile.html.”
… 

indexe2a8.html never got copied even though there’s a link for it and the
file exists in webmirror A.

Log File Entry:
HTTrack3.46+htsswf+htsjava launched on Sat, 10 Nov 2012 21:20:32 at
<file://G:\Websites\CompanyDir2\www.azeocryst.com\index.html> +*.png +*.gif
+*.jpg +*.css +*.js -ad.doubleclick.net/* -mime:application/foobar 
(winhttrack -qwC2%P0nxs0u1%s%uN0%I0p3DaK4H0%kf2o0A50000#L100000%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'2010], %s -->" -%l "en, en, *"
<file://G:\Websites\CompanyDir2\www.azeocryst.com\index.html> -O1
C:\TEMP\Local_Test +*.png +*.gif +*.jpg +*.css +*.js -ad.doubleclick.net/*
-mime:application/foobar )

Information, Warnings and Errors reported for this mirror:
 
21:20:36	Error: 	"Unable to open local file" (-5) after 2 retries at link
<file://G:/Websites/CompanyDir2/www.azeocryst.com/index1cb3.html?page=request_quote.html>
(from <file://G:/Websites/CompanyDir2/www.azeocryst.com/index.html>) 
21:20:36	Error: 	"Unable to open local file" (-5) after 2 retries at link
<file://G:/Websites/CompanyDir2/www.azeocryst.com/index84f6.html?page=contactus>
(from <file://G:/Websites/CompanyDir2/www.azeocryst.com/index.html>) 
21:20:36	Error: 	"Unable to open local file" (-5) after 2 retries at link
<file://G:/Websites/CompanyDir2/www.azeocryst.com/indexe2a8.html?page=corporate_profile.html>
(from <file://G:/Websites/CompanyDir2/www.azeocryst.com/index.html>)
... other similar errors ...

HTTrack Website Copier/3.46 mirror complete in 5 seconds : 1013 links scanned,
101 files written (883285 bytes overall) [0 bytes received at 0 bytes/sec]
(304 errors, 0 warnings, 0 messages) 

Why it can’t open the local files I have no idea … they are there, and they
work perfectly in webmirror A
(G:/Websites/CompanyDir2/www.azeocryst.com/index.html). The permissions are
open.

 
Reply


All articles

Subject Author Date
Mirror Mirror

11/11/2012 07:44
Re: Mirror Mirror

11/11/2012 07:47
Re: Mirror Mirror

11/11/2012 15:57
Re: Mirror Mirror

11/13/2012 01:18
Re: Mirror Mirror Confirm bug.

11/13/2012 16:57
Re: Mirror Mirror Confirm bug.

11/13/2012 19:28




9

Created with FORUM 2.0.11