Yeah, but you're relying on a default value for it, because the only other value is 
"inline;"

Darryl

-----Original Message-----
From: gary menzel [mailto:[EMAIL PROTECTED]] 
Posted At: Thursday, 23 January 2003 3:54 PM
Posted To: CFAussie
Conversation: [cfaussie] Re: CFCONTENT download to a Mac
Subject: [cfaussie] Re: CFCONTENT download to a Mac









Hi - I have only done a little of this - but I dont think you need the "attachment;" 
in the value where you put "filename".

I have stuff that works without that (although I never test for a Mac).


Gary Menzel
IT Operations Brisbane -+- ABN AMRO Morgans Limited
Level 29, 123 Eagle Street BRISBANE QLD 4000
PH: 07 333 44 828 �FX: �07 3834 0828

[EMAIL PROTECTED] wrote on 01/23/2003 03:41:40 PM:

> Hi all,
>
> I'm setting up a system to allow users to download PDF files from a
server
> instead of them opening in the browser. The code to offer the file for 
> download is this:
>
> <cfheader name="Content-Disposition" 
> value="attachment;filename=pdffile.pdf">
> <cfcontent type="unknown/unknown" file="d:\website\files\pdffile.pdf">
>
> So far so good, however when I test this on the Mac, its offering the 
> filename as 'downloadfile.cfm' instead of 'pdffile.pdf'. This was
happening
> on the PC before I put the CFHEADER line in it.
>
> Does anyone know what the syntax of the CFHEADER line should be so the
Mac
> browser gives the user the correct filename? Or is there something 
> else I need to let Mac users download the file?
>
> thanks!
>
>
> -----------------------
> Ryan Sabir
> Newgency Pty Ltd
> 2a Broughton St
> Paddington 2021
> Sydney, Australia
> Ph (02) 9331 2133
> Fax (02) 9331 5199
> Mobile: 0411 512 454 http://www.newgency.com/index.cfm?referer=rysig
>
>
> ---
> You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to