1.

Solve : wget errors?

Answer»

I USED wget to retrieve files from the web, but I dont want it to display crap in screen so I made it quiet.
Is there a WAY to retrieve only the error and PRINT it to screen?

thanks
yp check the wget help section...if you can find the quiet option, you can find others that may(or may not) do what you want. -nv and -o options are what i can think of...look at the man page again.Thanks,

in fact the -o options outputs the information to a file, but if -q quiet mode is activated at the same time, the file is empty. This look to do exactly the same as a file redirection (> wget.log). So I have to set -nv non-verbose option with the -o option and then seek the generated file for errors. I can LIVE with that limitation but there SURELY are a variable set by wget (à la ERRORLEVEL) that can give me the error type/number right away, isnt-it?

yp



Discussion

No Comment Found