473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

What is the correct MIME type for DOCX, XLSX, & PPTX?

We need this both for what we set in IIS and for the
HttpContext.Reponse.ContentType property.

We've tried a bunch of different things and none seem to work.

thanks - dave

david@at******@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Jun 27 '08 #1
4 27156
Good list of them here - and an easy way of adding them all
http://www.bram.us/2007/05/25/office...types-for-iis/
--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"David Thielen" <th*****@nospam.nospamwrote in message
news:qa********************************@4ax.com...
We need this both for what we set in IIS and for the
HttpContext.Reponse.ContentType property.

We've tried a bunch of different things and none seem to work.

thanks - dave

david@at******@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Jun 27 '08 #2
I don't know the answer offhand, but if you have software that you can open
them with, you can easily find out by looking at the Registry.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"David Thielen" <th*****@nospam.nospamwrote in message
news:qa********************************@4ax.com...
We need this both for what we set in IIS and for the
HttpContext.Reponse.ContentType property.

We've tried a bunch of different things and none seem to work.

thanks - dave

david@at******@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Jun 27 '08 #3
Hi Dave,

In addition to the list John mentioned, I found the following MSDN
reference include some content-type info for some other component files in
OFFICE 2007 OOXML:

#Introducing the Office (2007) Open XML File Formats
http://msdn.microsoft.com/en-us/library/aa338205.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: David Thielen <th*****@nospam.nospam>
Subject: What is the correct MIME type for DOCX, XLSX, & PPTX?
Date: Mon, 26 May 2008 15:37:55 -0600
>We need this both for what we set in IIS and for the
HttpContext.Reponse.ContentType property.

We've tried a bunch of different things and none seem to work.

thanks - dave

david@at******@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Jun 27 '08 #4
thank you

On Mon, 26 May 2008 23:52:54 +0100, "John Timney \(MVP\)"
<xy******@timney.eclipse.co.ukwrote:
>Good list of them here - and an easy way of adding them all
http://www.bram.us/2007/05/25/office...types-for-iis/
--

david@at******@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Phil Powell | last post by:
How do you detect an image MIME type if you know of the image in a directory? For example, I know of: if (is_file("$myImagePath/$myImageName")) { // FIND MIME TYPE BUT HOW I DUNNO } The...
9
by: Daniel | last post by:
I'm working on a CGI script that creates a dynamically generated .js file. What MIME type should I use? Every site I go to says something different: text/javascript, application/javascript,...
0
by: Stephen Costanzo | last post by:
I need to specify the MIME type for a file to store to Content Manager. I do not want to trust the user to select the correct type. Is there an API of some sort to determine the correct MIME Type....
1
by: wh173b0y | last post by:
Alright, i`m developing a site for a contest that runs off of asyncronus HTTP requests(AJAX is the popular term). now i'm using code that is based strongly off the mozilla developer center's...
5
by: splodge | last post by:
This may seem like a stupid question but I want to check before I go ahead and build this... I am working on a portal, part of which allows users to upload files. Part of the array within...
1
by: David Trimboli | last post by:
I've got a 16-bit Windows executable file linked in a document for download. What would be the correct MIME type to indicate in the link? http://www.trimboli.name/continuum/dotw.html David...
4
by: Breana | last post by:
it's a wordpad, most ppl use um and i forgot to ask last time. i tried document/wordpad but no go...
1
by: tinman77 | last post by:
Thanks in advance for everyone's help... My problem is that more often than I would like, I get attachments that for some reason or another do not include an extension. What I want to do is...
2
by: =?Utf-8?B?TWFkaXNvbg==?= | last post by:
Hi there, I'm working with VS 2008(framework3.5), IIS6, SQL Server 2005. I have website that allow users to upload doc, docx, xls, xlsx ... and so on. I save file to SQL Server 2005 with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.