May need some fiddeling to work - as I've stolen it from a PHP script, but the principle should be the same:
<cfheader name="Content-type" value="application/octet-stream"> <cfheader name="Content-Disposition"> <cfheader name="attachment"> <cfheader name="filename" value="excelfile.xls"> HTH Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting James Cowperthwaite <[EMAIL PROTECTED]>: > If I happened to be on a host who had disallowed the <cfcontent> tag and > I was trying to serve a customer a file which they had just purchased, > would there be an alternative way in coldfusion 4.5, 5 to deliver that > file without exposing the path to the link? ie I want to be able to > authenticate users before letting them download particular files. > > Can MX do this another way? > > Any hints? > > Thanks > James > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
