use the built-in FileExists() function - it returns a simple true or false.
As for processing time, I've not seen any performance hit from using it, and
it processes faster than loading a plain HTML web page. On the other hand,
if you are checking the existence of a few hundred thousand files, then yes,
it may take a bit...
Shawn Grover
-----Original Message-----
From: Brook Davies [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 2:49 PM
To: CF-Talk
Subject: Checking for a files existence?
Does checking for a files existence use up alot of system resources? Does
it take a long time?
Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists