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:344181
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to