Did you try it in IE? It might display inline in IE. Also, with <cfcontent file=""> you no longer need the cffile at all.
On Tue, May 3, 2011 at 12:49 PM, Liz Maher <ohl...@gmail.com> wrote: > > Thanks! > > I've got it prompted to download the file with: > > <cffile action="readbinary" file="path-to-the-dir\deliveryschedule.xls" > variable="myvar"> > > <cfheader name="Content-Disposition" value="inline; > filename=deliveryschedule.xls"> > <cfcontent type="application/vnd.ms-excel" > file="path-to-the-dir\deliveryschedule.xls"> > > ...but it's still a no-go on displaying inline. Presumably the downloader > can still edit the file if they want to. > > >Try: > > > ><cfcontent > > >file="#expandpath('../../../path/to/excel/file/stored/outside/web/root/excel.xls')#" > >type="application/msexcel"> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm