[Top][All Lists]

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

Re: [Bug-wget] Exit status

From: nima chavooshi
Subject: Re: [Bug-wget] Exit status
Date: Wed, 30 Dec 2009 11:29:25 +0330

Thanks for your attention
I think the best way is running wget with "-o" option and then process the
output file.is that true? So may you give me all of error messages(*not exit
status*) that wget can return ?

On Wed, Dec 30, 2009 at 6:50 AM, Micah Cowan <address@hidden> wrote:

> 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
> http://micah.cowan.name/
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iEYEARECAAYFAks6xvcACgkQ7M8hyUobTrHc3gCdG6dKuq3b5jTyTyt+1haFpefX
> BLMAoIdiK0aUs4/u0fFT88gJW+g2Rtpy
> =MY4p


reply via email to

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