You have a problem here:

<CFHEADER NAME="Content-Disposition" VALUE="inline;
filename=#fName#">

It's saying open in the browser.  Change it to

<CFHEADER NAME="Content-Disposition" VALUE="attachment;
filename=#fName#">

HTH,

Sam

----------------------------------------------
Blog:  http://www.rewindlife.com
Chart: http://www.blinex.com/products/charting
----------------------------------------------

-----Original Message-----
From: cf coder [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 9:44 AM
To: CF-Talk
Subject: how to open an attached file in its own application (ms-word, excel
etc).. please read

Hello everybody,

I have CFMX installed running on a windows machine.
I have a section on the site where users can view the
files that are attached to a log.
I've called this file showAttachments.cfm

Here is the code:
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to