I use the inline value, and it works fine for me, pops up a dialog to open or save.
<cfheader name="Content-Disposition" value="inline; filename='text.xls'"> <cfcontent type="application/msexcel" file="e:\Inetpub\wwwroot\intranet\managersinvites.xls"> If you don't use the cfheader, then the excel file will open in your browser, but I still believe it will show the dialog box. One problem I've run into, is if you reload the page that your trying to display a new mime type on, it won't load right, just close your browser, then open it back up, and type the URL in again. ______________________ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -----Original Message----- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 11:44 AM To: CF-Talk Subject: CFContent Download Mime I've worked all morning on this, and can't figure this out. This is my first time working with CFContent. When I load this page, the excel document loads in the browser (as text). I would like to start a download, or just go ahead and load in IE as an Excel document like a "http://tflweb/managersinvites3.xls" call. What am I missing? Start Of Template >>>>>>>> <cfheader name="Content-Disposition" value="attachment; filename='test.xls'"> <cfcontent type="application/vnd.ms-excel" deletefile="no" file="e:\Inetpub\wwwroot\intranet\managersinvites3.xls"> End Of Template >>>>>>>> Start Display in Browser >>>>>> ÐÏࡱ FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists