If you are using CFMX 7, there should be a "variable" attribute for CFContent. Then just use CFHeader the same way you would normally (forcing the attachment).
If you are doing it pre-MX7... You might want to try it like you are using a standard binary object: http://www.bennadel.com/index.cfm?dax=blog:313.view Check out how pre-mx7 I am streaming the image to the underlying byte stream. I don't think this is *supported* and I am sure I don't fully understand how it works. ...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:25 PM To: CF-Talk Subject: Push dynamic text file to the browser In the past, I have used a combination of cfcontent and cfheader to push a file from the file system to the user in the form of an open/save as pop-up box. I am looking to do that same thing with a text file now, but the content of that text file is in a variable and not a file on the file system. Is it possible to push the variable as a string buffer and have the browser present the user with the open/save as pop-up box for a text file? The are security reasons for not writing the data to a file in the file system, so I would like to see if it can be pushed to the user without the intermediate step of creating the file. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261477 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

