I just tested our code as below on IE5 (CFMX) and it worked. Not sure if CF5
has an issue:

<CFHEADER name="Content-Disposition" value="attachment;
filename=#Attributes.FileName#">
<cfcontent type="application/octet-stream" file="#TempPath##TempFile#"
deletefile="Yes">

Paolo

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 14:21
To: '[EMAIL PROTECTED]'
Subject: [ cf-dev ] cfcontent download problem


I know you guys have seen/done this but on some machines (IE5 in this case)
when I trigger a download of a file : 

<cfheader name="Content-Disposition" value="attachment;
filename=#tThisFile#.zip">
<cfcontent type="application/octet-stream"
file="#InetDirectory##tThisFile#.zip" deletefile="Yes">

It will download the file as the name of the calling page .cfm BUT it will
actually be the data in question... anyone got a workaround? I am sure I
have done this before but I can't remember how...

N

-- 
** 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]

-- 
** 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