Prefix your <cfcontent> tag with this line:

<cfheader name  = "Content-Disposition" value = "attachment;
filename=#pdf_id#.pdf">

----- Original Message -----
From: "Owen Munton" <[EMAIL PROTECTED]>



I have a line of code using cfcontent to download a
pdf file that works just fine in Netscape, but in IE,
it does open acrobat reader, it attempts to display it
in the browser.  The output starts like this:
%PDF-1.2 %���� 1 0 obj<> etc etc etc......

Here is my line of code:
<CFCONTENT TYPE="application/pdf"
FILE="c:\pdf\#pdf_id#.pdf" reset="yes">

any thoughts, anyone??


______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to