[Top][All Lists]

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

Re: [Bug-wget] Exit status

From: Micah Cowan
Subject: Re: [Bug-wget] Exit status
Date: Tue, 29 Dec 2009 19:20:23 -0800
User-agent: Thunderbird (X11/20090817)

Hash: SHA1

nima chavooshi wrote:
> Hi
> First of thanks for your effort on this very good tool :)
> In my new project I have to program a download server for downloading too
> files for one company, so I decide to use wget as back-end program and main
> engine. I need to check status of wget whether or not downloading has been
> completed and if there is any error, can handle it. So I need to know
> completely information about exit status, for example type of error: network
> failure or server error or etc. I have found this link " *
> gnu.org/software/wget/manual/html_node/Exit-Status.html#Exit-Status *" about
> exit status from wget page. Is this list all of exit status of Wget?
> Unfortunately I could not correctly get result from my tests, my results are
> different those exit status.

It's important to know that those exit statuses only apply to Wget
version 1.12, which is a quite-recent version. Anything older than that
pretty much just returns 1, or maybe 2, for more or less every situation.

Even the current situation for 1.12 is not terrific, but it's a good
sight better than it had been.

Hope that helps!

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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