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!

<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


More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62