How do I force the download of a TEXT file to the client browser? I tried this, but it gives me a strange filename. What I want for a filename is:
Assemblymap_1006.txt Instead I get Kit_download_assemblymap.cfm For the filename. So what am I doing wrong: <CFHEADER NAME="Cache-Control" VALUE="0"> <CFHEADER name="Content-type" value="application/octet-stream"> <CFHEADER name="Content-Disposition" value="attachment; filename=""assemblymap_#url.id#.txt"""> <cfcontent file="assemblymap_#url.id#.txt" type="application/octet-stream"> ALSO, I need to download UNFORMATTED text as it appears in the original file. The downloaded file seems to have spaces and linebreaks removed. I can do it on the screen with a <pre> tag. please advise if you can. TNX. Rick Colman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192244 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

