Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wget and status

Status
Not open for further replies.

piti

Technical User
Apr 12, 2001
627
SK
hi

how to retrieve the status of an unsucessfull download using wget?
e.g. when i receive "host not found", the 404 error or anything else?
thanx
 
These errors are printed to stderr. You can use the -o flag (or -a to append) followed by a file name to log messages to the specified file. Read the wget man page.

jaa
 
well

i know about that - isn't some system variable set?
i'm too lazy to parse the output log ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top