Use the fileexists() function prior to the rename. ~Brad
-----Original Message----- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 12:45 PM To: CF-Talk Subject: cffile rename Hello, I am trying to use cffile action=rename to rename some files on the server. Is there any way to keep it from over-writing existing files that already have the name? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297585 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4