nevermind I fixed it

<cfheader name="Content-Disposition"
value="attachment;Filename=downloadzip.cfm?#getfile.Zipfile#.zip">
should be
<cfheader name="Content-Disposition"
value="attachment;Filename=#getfile.Zipfile#.zip">

and it works
groovy


----- Original Message ----- 
From: "Matt Horn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2003 12:35 PM
Subject: [ cf-dev ] <cfheader> malarky


I have a page that spawns a download

the code looks like this
<cfheader name="Content-Disposition"
value="attachment;Filename=downloadzip.cfm?#getfile.Zipfile#.zip">
<CFCONTENT TYPE="application/zip" DELETEFILE="No"
FILE="f:\webspace\creative-vision.co.z\#trim(getfile.Ziplocation)##trim(getf
ile.ZipFile)#"
RESET="Yes">

this works in that the file gets called and a download occurs
however the extention gets lost
so I get a file called

 CA98XC.

and not myfile.zip

anyone know why?

thanks
 Matt


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to