Answered
CFContent Situation
Hello community!
I am working on an export file which is a pipe (|) delimited file and I am running into some issues. First of all the file is not being generated with the file name that I am specifying. Second, I am getting a ton of HTML in addition to my data in my generated file. I want a clean export -That is only the data from my query. This export is for a third party product that we use in my company.
This is where I generate the file:
<cfcontent type="text/plain">
<cfheader name="Content-Disposition" value="\\development\webdata\retail\cigars\filename=famoussmoke_#timeNow#.txt">
<cfoutput>
<br />
<cfloop query="getFields">
#adr#|#fname#|#lname#|#zip#|#ordnum#|#tot_goods#|#suppflgs#<br />
</cfloop>
</cfoutput>
Can somebody provide me with some assistance?
Thanks!
I am working on an export file which is a pipe (|) delimited file and I am running into some issues. First of all the file is not being generated with the file name that I am specifying. Second, I am getting a ton of HTML in addition to my data in my generated file. I want a clean export -That is only the data from my query. This export is for a third party product that we use in my company.
This is where I generate the file:
<cfcontent type="text/plain">
<cfheader name="Content-Disposition" value="\\development\webdata\retail\cigars\filename=famoussmoke_#timeNow#.txt">
<cfoutput>
<br />
<cfloop query="getFields">
#adr#|#fname#|#lname#|#zip#|#ordnum#|#tot_goods#|#suppflgs#<br />
</cfloop>
</cfoutput>
Can somebody provide me with some assistance?
Thanks!
