Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Short version:

  • I'd like to snap an offline copy of a URL which includes the full HTML+CSS+JS+images and saves them locally, keeping the structure and file content of the original site.
  • I'm having trouble with the tools I can find (e.g. "Save Complete" Firefox extension, HTTrack, wget, Teleport Pro) partly because the URL is behind a login form.

Longer version:

When working on my app I often want to snap an offline full HTML+CSS+JS+images version to send to the designer I work with, who makes modifications and sends it back. I then apply the changes to the app.

This has turned out to be much more efficient than having him/her navigate our code with a live app, but there's one snag - I can't find a mirroring app that's convenient.

Firefox extensions like "Save Complete" have the login cookie already so don't care that they're behind a login form, but they mangle the locally-saved files making it impossible to work with them.

Mirroring tools like wget or Teleport Pro don't support our login form.

HTTrack, though, is supposed to be able to run in proxy mode to detect the login info, but I could never get it to work. As a fallback it can accept cookies that I hard-wire into its cookies.txt file, but it always takes me hours to do this reliably.

Any tools, browser extensions, etc. that could do this? Open source, commercial - anything. If I've been misusing HTTrack and it's actually trivial to do - that's a great answer as well :)

Thanks!

share|improve this question

3 Answers 3

With HTTrack you can have it uses a cookies.txt file when downloading. I've used it to successfully mirror a moodle site.

share|improve this answer
    
Thanks - I've done that before with HTTrack, but for some reason it always take me several tries to get it to work, although I can't see a reason why. Did you ever get the built-in forms authentication support to work? It never worked for my site. httrack.kauler.com/help/CatchURL_tutorial –  orip Jun 28 '10 at 8:56
1  
What I did is logged in with my browser and exported the cookies.txt file, added the logout page to the blacklist, and let it run. Took me a few tries due to moodle's stupidity, but I got it to work –  TheLQ Jun 28 '10 at 18:20

Have you tried Offline Explorer ?

I remember something like it would let you to login, thus saving cookies for consequent requests and will do the rest. Not sure for 100% as I was using it long time back.

share|improve this answer
    
Awesome, seems like the Pro version supports POST into forms, I'll check it out –  orip Jun 27 '10 at 15:23
    
It took me a while to figure it out, and the documentation was sparse, but I realized that I could use the embedded IE-based browser to log into the form and then choose "Add the next clicked link as a project". The "autosave" feature was nice as well, although it messed up my form post occasionally. Gonna eval it for 30 days, could be what I'm looking for. –  orip Jun 27 '10 at 15:48

Teleport Pro allows for a login and password to be used.

As you start a New Project Wizard you'll come to a point where it gives you that option (I think it's in the 3rd screen of options).

And even if you miss it you can access that option again.

In the main window (after have gone through the Project Wizard) right click your project (little folder icon displaying the URL you're trying to download, on the left pane) and chose the last option Starting Address Properties and you're presented with an options screen where you can specify a user login and password to be used in that site.

share|improve this answer

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.