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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detect error codes

Status
Not open for further replies.

flyingsheep

Technical User
Apr 24, 2004
15
US
i am trying to make a program which would recieve a website as a parameter or read one from a line in a text file, attempt to access that site, and if it recieves an error, deletes that site from the list, or returns an error a little like a proxy checker, how can i detect if it gets, for example, a 401 error?.
thanks in advance
alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top