Haven't tested, but how about this?

<cftry>
 <cffile action="READ" file="x:\your\path\yourFile.ext" variable="sFile">
 
 <!--- I could read your file --->
 
 <cfcatch type="Any">
  OOPS, I couldn't read your file
 </cfcatch>
</cftry>

----- Original Message ----- 
From: "Paige Chandler" <[EMAIL PROTECTED]>


Hello All,

How can I determine if a file exist?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to