Web Services
  Home arrow Web Services arrow Website Mirroring With wget
IBM developerWorks
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Website Mirroring With wget
By: Jim Roberts
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 42
    2004-02-04

    Table of Contents:
  • Website Mirroring With wget
  • Using wget
  • Other Notable Features

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Website Mirroring With wget


    (Page 1 of 3 )

    Have you ever wanted to copy a Website for offline browsing or backup purposes? There’s a powerful UNIX tool called wget that can do this, and much more. I’ll review a simple example of using this tool, and discuss some advanced features that are huge timesavers. GNU wget is a free utility which runs under UNIX and Windows. In a nutshell, this program can go out and effectively mirror a Website for local browsing or backup purposes. While it has more powerful features, this article will focus on the basics of the tool. 

    Why wget?

    There are countless ways to copy your Website.  Many Website editors actually keep a local copy of the site for you.  So, why should you bother with wget?  Well, there are several advantages to this utility.  It’s free, easy to learn, and runs from the command line.  The last of these is important, because it makes wget easy to automate through “cron” or “at” jobs.  Overall, I find it’s a useful utility to have in my toolbox – fast, powerful, and easy to use.

    Obtaining and Installing wget

    First, we’ll need to install the software.  For Linux users, it may already be there – just type “which wget” at your shell prompt to see if you have it. 

    Windows users can get a ported binary here:

    http://xoomer.virgilio.it/hherold/

    Look for the latest binary, and be sure to download the ssllibs as well (These enable retrieval of https web pages).  I downloaded wget 1.9.1 and ssllibs 0.97.  I copied all the files to my C:\Program Files\wget directory.  If you choose, add this to your system path for easy use. 

    More Web Services Articles
    More By Jim Roberts


     

    WEB SERVICES ARTICLES

    - Getting Started with Flex
    - Automated Billing and Faxing for the Web
    - An Introduction to Web Services
    - The Foundations of Web Services: From Novice...
    - Web Services Reengineering: Finishing Touches
    - Fault Handling with Web Services
    - Flow and Web Services
    - Process Lifecycles and Web Services
    - Business Processes and Web Services
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway