Using CFCONTENT to deliver word document
website: http://www.datafusionsystems.com/ click on link download resume. see downloads index.cfm.
here code using.
<cfif isdefined("url.downloadresume")>
<cfcontent file="c:\domains\datafusionsystems.com\wwwroot\noah_britton_resume.doc" type="application/msword" deletefile="no">
</cfif>
i have no idea why behaving strangely. i'm not using cfheader of cfcache on page. thanks!
here code using.
<cfif isdefined("url.downloadresume")>
<cfcontent file="c:\domains\datafusionsystems.com\wwwroot\noah_britton_resume.doc" type="application/msword" deletefile="no">
</cfif>
i have no idea why behaving strangely. i'm not using cfheader of cfcache on page. thanks!
<cfheader name="content-disposition"
value="attachment;filename=noah_britton_resume.doc">
or
<cfheader name="content-disposition"
value="inline;filename=noah_britton_resume.doc"> display in browser.
hth
--
tim carley
www.recfusion.com
info@nospamingrecfusion.com
value="attachment;filename=noah_britton_resume.doc">
or
<cfheader name="content-disposition"
value="inline;filename=noah_britton_resume.doc"> display in browser.
hth
--
tim carley
www.recfusion.com
info@nospamingrecfusion.com
More discussions in Advanced Techniques
adobe
Comments
Post a Comment