[thelist] What MIME type will cause Excel spreadsheet to download?

Howie Hamlin howie at coolfusion.com
Wed Aug 18 13:48:41 CDT 2004


Try these two headers:

Content-disposition: attachment; filename=something.xls
Content-type: excel/ms-excel; name=something.xls

HTH,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm


----- Original Message ----- 
From: "Chris Johnston" <fuzzylizard at gmail.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, August 18, 2004 2:05 PM
Subject: [thelist] What MIME type will cause Excel spreadsheet to download?


> Hello,
> 
> In the application that I am working on, I am using j2ee to serve up
> an excel spreadsheet. What I wondering is what mime type can I use in
> the header to cause the spreadsheet to download instead of opening in
> Excel?
> 
> -- 
> chris johnston
> 
> www.fuzzylizard.com
> "For millions of years, mankind lived just like the animals and
> something happened which unleashed the power of our imagination, we
> learned to talk."
> Pink Floyd
> -- 
> 
> News! - Evolt.org conference for web professionals. 
> 17-19 September 2004 in Toronto, Canada. 
> Details at http://TOevolt.org
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 


More information about the thelist mailing list