Ignore me. I was pointing it at the wrong file.
[Crawls back under his rock] Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting Mark M <[EMAIL PROTECTED]>: > Yep tried that - don't know if I'm blind or what - but this thing isn't > giving me diddly squat: > > Here is the code: > > -- > > <cfsilent> > <!--- setup ---> > > <cfscript> > path = GetDirectoryFromPath(cgi.CF_TEMPLATE_PATH) & "\download\"; > </cfscript> > > <!--- do download ---> > <cfswitch expression="#url.download#"> > > <cfcase value="full"> > <cfset filename = "Setup.exe"> > </cfcase> > > <cfcase value="light"> > <cfset filename = "Setup_Upgrade.exe"> > </cfcase> > </cfswitch> > > </cfsilent> > > <cfheader name="Content-Disposition" value="attachment; filename=#filename#" > > > <cfcontent type="application/octet-stream" file="#path##filename#" > deletefile="No"> > -- > > Can anyone see anything wrong??? > > So totally a Friday :oP > > Mark > > ------------------------------------------------------------------ > [EMAIL PROTECTED] > ICQ: 3094740 > Safe From Bees > [ www.safefrombees.com ] > > > Quoting Vaughan Allan <[EMAIL PROTECTED]>: > > > application/octet-stream should do the trick.... > > > > > > > > Vaughan. > > > > --- > 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
