[REBOL] Catching Web Site Access Errors Re:

2000-03-01 Thread lmecir
Title: Catching Web Site Access Errors Hi, you may try the following: exists?: func [ { Determines if a file or URL exists. Checks for invalid HTML pages. } target [file! url!] /local port comp ts][ if error? try [ port: make port! target query port ] [return false] if not

[REBOL] Catching Web Site Access Errors Re:

2000-02-29 Thread icimjs
Hi Melvin, if error? error: try [ read http://www.does-not-exist.com ] [ error: disarm :error probe error ] connecting to: www.does-not-exist.com make object! [ code: 507 type: access id: no-connect arg1: "www.does-not-exist.com" arg2: none arg3: