Gary, I would say the way you want to use it IS the way it should be used. Try doing this first:
#FileExists( tempfile )# Does that give you a Yes? ...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Gary Strommen [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 3:04 PM To: CF-Newbie Subject: cffile renaming So I checked previous threads and could not find what I was looking for. Question, is it possible to use this code: <cffile action="rename" source="#tempfile#" destination="#newName#" attributes="normal"/> if the "#tempfile#" and "#newName#" both have the full paths set to them? I have tried this code and I get "The value of the attribute source, which is currently ... is invalid." I have also used <cffile action="rename" source=#tempfile# destination=#newName# > with the same results. I hardcoded the source and destination with the actual full paths and that worked. However, that will not work for me... I need to be able to use this cffile command as I have it at the top. Any suggestions? Thanks in advance! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2606 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
