Question
Cffile rename ...
<cfset time = #DateFormat(now(), "mm/dd/yyyy hh:mm:ss")#>
<cfset ufile = #FORM.name#>
<cfset final = ufile&""&time>
<cffile action="RENAME" source="#ExpandPath('..\original\#filename#')#" destination= "#ExpandPath('..#final#.txt')#">
I am trying to rename file dynamically with using time and name from form but it not working
