James:

I don't know that this is it but it may have to do with the Mime-Type you're
using.  The official, IANA-defined Mime-Type for Excel file is
"application/vnd.ms-excel" and not the one you're using.  It may be that
Windows servers work well with what you have and that *nix servers don't.

Just a thought.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

James Smith [mailto:[EMAIL PROTECTED] wrote:
> I am exporting stock information to a csv file then using the following to
> lines to deliver the file to the user.
>
> <cfheader name="Content-Disposition" value="attachment;
> filename=stockvaluation.csv">
> <cfcontent file="#CurrentDirectory#Files/stockvaluation.csv" reset="yes"
> type="application/msexcel">
>
> From our Windows 2003 Server this works fine and starts to download a file
> asking the user to save or open it, however from our RedHat server the
> contents of the file are displayed in the browser window instead, this
> suggests the first line isn't being processed, however if I then do a
"File
> > Save As" the default filename is "stockvaluation_csv.html" so clearly it
> is.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to