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?
|
feedback
|
|
You might want to check our Now I don't know off the top of my head how to do what you want however
I would recommend checking out the curl man page | |||
|
feedback
|
|
I guess wget doesn't have a way to handle any errors at this point :( that's kind of sucks, unfortinetly curl won't work for me, but if something I think curl's way of handeling it would be the closest so to speak solution... | |||
|
feedback
|