Ask a Question related to Debian, Design and Development.

  1. #1

    Default restarting wget?

    If wget fails partway through recursively downloading a big website, is there
    some way to start it over again, to have it download the rest of the site
    without downloading everything a second time?

    What I envision is for wget to see that I already have some HTML files in its
    download directory, and to follow the links in them, rather than fetching the
    files from the website. Only if it comes across a file that has not already
    been downloaded would it get the file from the web.

    I've experimented with lots of wget's command line options, and it seems to me
    like it ought to be able to do this, but I haven't been able to get it to work.

    Alternatively, is there another recursive website downloader that can do what I
    want? I just want something I can restart in the event of failure.

    Thanks,

    Mike
    --
    Michael D. Crawford
    GoingWare Inc. - Expert Software Development and Consulting
    [url]http://www.goingware.com[/url]
    [email]crawford@goingware.com[/email]

    Tilting at Windmills for a Better Tomorrow.

    "I give you this one rule of conduct. Do what you will, but speak
    out always. Be shunned, be hated, be ridiculed, be scared,
    be in doubt, but don't be gagged."
    -- John J. Chapman, "Make a Bonfire of Your Reputations"
    [url]http://www.goingware.com/reputation/[/url]


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Michael D. Crawford Guest

  2. Similar Questions and Discussions

    1. CPAN, LWP and Net:FTP firewall issues? Connection established transfer fails, yet ftp and wget work manual.
      I assume this is a firewall issue, but seeing I'm new to perl I'm not sure what the problem is. I have Perl 5.8.00 installed on RedHat 8.0 with...
    2. Help installing wget
      I need to install wget on a server that I have a domain on. But I do not understand where to upload the files and then how to install wget to get...
    3. Lynx and wget - redirect problems for PHP scripts
      I have a PHP script that should be run a few times a day. Currently I run this script manually as I haven't been able to set up Lynx or wget to run...
    4. Restarting HDR
      I know i've asked everything there was to this but here's some more. My server is set up for 20 logical log files. Assume the uniq ids are also...
    5. rsync or wget?
      Hi group, I've just installed apt-proxy. Should I use rsync or wget for fetching packages? I don't really understand the differences. I do...
  3. #2

    Default Re: restarting wget?

    On Sunday 03 August 2003 11:39, Michael D. Crawford wrote:
    > If wget fails partway through recursively downloading a big website, is
    > there some way to start it over again, to have it download the rest of
    > the site without downloading everything a second time?
    >
    Perhaps the -m (--mirror) option can help you.
    From man wget:
    --mirror
    Turn on options suitable for mirroring. This option turns on recursion
    and time-stamping, sets infinite recursion depth and keeps FTP directory
    listings. It is currently equivalent to -r -N -l inf -nr.

    The part relevant to you should be the '-N -nr'. Haven't tried it, though..

    HTH,
    Johannes

    --
    "More than machinery we need humanity" -- Charlie Chaplin, The Great
    Dictator


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Johannes Zarl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139