First, I *think* you want to put the <cfheader> before
the
<cfcontent...> tag, but I am not user.
But definatly, if you do not want HTML in your output, don't
put it
there! You are formating you content as HTML with <br/>
and such, but
then telling the browser that it is not HTML with the
type="text/plain".
Go one way or the other, don't mix the message.
<cfheader
name="Content-Disposition"
value="\\development\webdata\retail\cigars\filename=famoussmoke_#timeNow#.txt">
<cfcontent type="text/plain">
<cfoutput
query="getFields">#adr#|#fname#|#lname#|#zip#|#ordnum#|#tot_goods#|#suppflgs#
</cfoutput>
NOTE: It is very hard to experss in this email, but since you
are
saying this output is plain text, not HTML, then all white
space is
going to count. So you will have to be very careful with what
you put
in and around your <cfoutput...> tags. They will show
up!