Copy link to clipboard
Copied
hi, I can seem to get the unique file name to work with this:
<cffunction name="saveCSV" access="remote" returntype="String" > | ||
<cfargument name="data" type="string" required="yes"/> | ||
<cffile action='Write' nameConflict="makeunique" file="#expandPath('userData/data.csv')#" output='#data#' > | ||
</cffunction> |
any ideas of a solution cf buddies?
Copy link to clipboard
Copied
Nameconflict is not an attribute of <cffile action='Write'>. Leave it out.