Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an old web site running on an ancient version of Oracle Portal that we need to convert to a flat-html structure. Due to damage to the server we are not able to access the administrative interface, and even if we could there is no export functionality that can work with modern software versions.

It would be enough to crawl the website and have all the pages & images saved to a folder, but the file structure needs to be preserved; that is, if a page is located at http://www.oldserver.com/foo/bar/baz/mypage.html then it needs to be saved to /foo/bar/baz/mypage.html so that the various Javascript bits will continue to function.

None of the web crawlers I've found have been able to do this; they all want to rename the pages (page01.html, page02.html etc) and break the folder structure.

Is there any crawler out there that will recreate the site structure as it appears to a user accessing the site? It doesn't need to redo any of teh content of the pages; once rehosted the pages will all have the same names they did originally so links will continue to work.

share|improve this question
    
Is any of this content dynamically generated on the server side? If it is, I'm not sure how you can do it without renaming certain pages? –  wag2639 Jun 11 '10 at 8:58

2 Answers 2

up vote 3 down vote accepted

wget -r will recursively get an entire website and save it all locally in the same structure.

share|improve this answer

Try HTTrack Website Copier: http://www.httrack.com/

(sorry for not having more details, too late/early in the morning)

share|improve this answer
    
I cant find any option in httrack to not rename/reposition the files. –  DrStalker Jun 11 '10 at 8:46
    
The "Local Structure Type" should be set to "Site-Structure": httrack.com/html/step9_opt5.html –  MattB Jun 11 '10 at 14:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.