cfcontent and download
<cfset fPath = expandPath('_view/') & "newFileName.csv" />
<cffile action="write" file="#fPath#" output="#csvData#" />
<cfheader name="Content-Disposition" value="filename=newFileName.csv" />
<cfcontent file="#fPath#" deletefile="true" type="application/csv" />
<cffile action="write" file="#fPath#" output="#csvData#" />
<cfheader name="Content-Disposition" value="filename=newFileName.csv" />
<cfcontent file="#fPath#" deletefile="true" type="application/csv" />