Use OnErrorResumeNext and then check for the file. Make sure you delete this file before checking. If the file isn ot there. then you have an error condition. If it is there then you search it for errors. Another suggestion, FileSearchEx can be used to seach multiple or individual files for specific text. : Okay, two questions... : 1) If I were to using PingPort (80), that would tell me if the internal : webserver if functional? It wouldn't, however, tell me if the Cold Fusion : server on each webserver is functional. : 2) If I were to use WebGetFile(), there would be two "problems" to : watch for. The first is if it can hit the page, but the page has an error : on it. This problem would be caught by pulling in the source code and : searching for an error. The other problem is if the webserver isn't : serving. If this is the case, WebGetFile() wouldn't connect, and it would : throw an error. How could I catch for this error? : Thanks.
|