Try: CFHTTP.StatusCode
Should contain 404 if the server is contacted and returns a 404.

Steve

> -----Original Message-----
> From: Gene Kraybill [mailto:[EMAIL PROTECTED]]
> Sent: 09 May 2001 19:05
> To: CF-Talk
> Subject: OT: Spider 404s
> 
> 
> I'm building a little spider in CF and want to check each page as 
> it's retrieved to 
> determine whether it contains the expected contents.
> 
> Seems like looking for " 404 " in CFHTTP.FileContent won't cover 
> everything. Does 
> anyone have a good working list of words/phrases that can be used 
> to verify links and 
> ensure they're still active?
> 
> Gene Kraybill
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to