Hello,

If i run :
wget http://server.domain/file

How can I differentiate between a network problem that made wget fail
of the server sending back a HTTP 404 error?

( I have a use case described in debian bug  http://bugs.debian.org/422088 )

I think it would be nice if the exit code of wget could be inspected
to determin if wget failed because of a 404 error or some other
reason.

May I be so bold as to propose that an exit code of 4 be used for 404 errors?

Thankyou for your time in considering this.

Alex Owen

PS: please CC as I am not subscribed to the list.

Reply via email to