I have just tried adding 

<cfheader name="Content-Length" value="#ATTRIBUTES.size#">

and

<cfcontent type="application/octet-stream"
file="#ATTRIBUTES.directory##ATTRIBUTES.fileName#">

but the same versions of IE seem to think that the file name is the same
as the link name and so wont save :( 

Does anyone have this running anywhere that I could try using these
browsers?

Thanks
James

On Thu, 2004-06-24 at 12:50, Steve Onnis wrote:
> Use this
> 
> <cfcontent type="application/octet-stream"
>         file="#ATTRIBUTES.directory##ATTRIBUTES.fileName#">
> 
> 
> Steve
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of James
> Cowperthwaite
> Sent: Thursday, June 24, 2004 12:26 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] cfcontent - file delivery question
> 
> 
> Hi, I am trying to deliver files (mostly pdf's) to users on a site from
> a directory that has http read turned off.
> 
> The code below works a treat - pops up a 'save as' and I can offer file
> name etc...
> 
> ...except in some versions of IE 5.5, some versions of IE 6. The file
> name gets mangled up (ie index.cfm?filename=blah.blah) and the save
> dialogue just wont accept it :(
> 
> I have googled and the best answer I have found is to get the user to
> install service packs - bleh.
> 
> Anyone had similar experience and/or work around?
> 
> Server is MX6.1
> 
> <cfheader
>       name="Content-Disposition"
>       value="attachment; filename=#ATTRIBUTES.fileName#">
> <cfcontent type="application/x-unknown"
>         file="#ATTRIBUTES.directory##ATTRIBUTES.fileName#">
> 
> Works fine in mozilla, some XP/IE6, all IE 5.01 (so far).
> 
> 
> Thanks
> James
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to