bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] can you set wget to retry after a 404 not found error


From: Micah Cowan
Subject: Re: [Bug-wget] can you set wget to retry after a 404 not found error
Date: Thu, 06 Nov 2008 12:18:29 -0800
User-agent: Thunderbird 2.0.0.17 (X11/20080914)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Smith wrote:
> I'm trying to set up a batch file under Windows XP that will try to
> download a daily podcast that gets posted at varying times everyday.
> After a 404 error, wget simply aborts rather than retrying.  I looked
> through the documentation and couldn't find a way to change this
> behavior.  Is it possible to get wget to retry after a period of time
> following a 404 error? Thanks

Nope, and that's not really something I'm interested in supporting in
Wget; retrying after a "period" is not really within Wget's scope; it'd
be better handled by an outside script.

My argument is weakened significantly by Wget's poor management of exit
statuses; however, if you're not using the -r option, it should give a
non-zero exit status, so you can know to retry in another 20 minutes.

- --
HTH,
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJE1EV7M8hyUobTrERAgbaAJ45gEWptSreafaVrjuR14Nw1xZy3gCeIMov
9iCrH2mNIqYMAv0QHFno6gM=
=q4hj
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]