Re: IDHTTP GET ERROR
Posted by webmaster Guido on March 25, 2003 at 02:45:46:
In Reply to: IDHTTP GET ERROR posted by WS on March 25, 2003 at 00:49:03:
: I AM DOING THIS
: BUT I WOULD LIKE TO KNOW HOW TO GET THE EXCEPTION WHEN THE URL ON CAD DO NOT EXIST,
BECAUSE MY PROGRAM IS BREAKING IN THAT CASE
I suppose you are using Delphi's the TNMHTTP component. The Delphi help contains a table of the values that the ReplyNumber property can have (the last response number from the server):
The following is a list of standard HTTP responses and their meanings:
For all the details, look under TNMHTTP, property ReplyNumber.
There's also info about events that you can use, such as OnConnectionFailed, OnInvalidHost,...