wget 5xx error code handeling

Posted by alexus on Server Fault See other posts from Server Fault or by alexus
Published on 2010-06-16T20:12:02Z Indexed on 2010/06/16 20:23 UTC
Read the original article Hit count: 264

Filed under:

i'm running a shell script that uses wget and pulls something over the web, my question is is there a way to tell wget to abort as soon as it hits 500 error code?

© Server Fault or respective owner

Related posts about wget