Well two options: 1. If this is for a SINGLE or selected users, if you can identify them prior to download, change the CFCONTENT line for THOSE users to be: text/plain 2. change the mime type for everyone to be: text/plain for files that have a txt extension
Sometimes this will also come down to how the end user has their computer setup to handle txt files. -----Original Message----- From: Jared Legg [mailto:[EMAIL PROTECTED] Sent: Monday, September 24, 2007 12:47 PM To: CF-Talk Subject: Opening a txt file in notepad I run a document management software app. The problem I am having is they want txt files to open in Notepad, instead of in the browser. There is the possibility of thousands of files, so it has to be dynamic to the particular file the user is requesting. I am hoping someone might know an easy way. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289316 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

