Hi all,

How do I return a success from CFTry?

I have wrapped cftry around a cfflile call to intercept error messages if
the file can not be updated but I want to return a success message if the
was no errors. Here is what I have:

<cftry>
        <cffile action="WRITE" ......>
        <cfcatch type="Any">
                The file could not be updated. File is locked or read only.
        </cfcatch>
</cftry>

Duane Boudreau
Director, Web Technologies
Ektron, Inc.
http://www.ektron.com
5 Northern Blvd, Suite 6
Amherst, NH 03031
Tel: 603-594-0249
Fax: 603-594-0258
ICQ#: 18024374
Jobs: [EMAIL PROTECTED]

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to