When copy a file how destination file name to fetch please

<cfset src1= expandPath(‘src.txt’) >

< cffile action=“copy” nameconflict=“makeunique” result=“res”
destination=“#src1#” source=“#src1#”>

res - undefined

< cffile action=“copy”
destination=“#src2#” source=“#src1#”>

1 Like