Uploading office 2007 files

LollumWaaksens

New member
Joined
Feb 23, 2013
Messages
3
Hi,

Searched the board but couldn't find a decent answer to my question.
Several times I upload Office 2007 format files (docx, xlsx), put the link in the code and save the page.
But when I click to open or download them, all I get is a bunch of random letters.
When I convert it into a 2003 format (doc, xls), then upload and do the steps it downloads as it should have.
But lately I can't convert because of several features not supported in the 2003 format.
So, how can I get the 2007 format to work properly?

Thanks in advance
 
If your account is hosted on a DirectAdmin based server then you'll need to discuss this with your hosting provider. If it's not, then you're asking n the wrong forum.

Jeff
 
Thx, I added the files in the MimeTypes part of my account.
Should it work now or are there other things I must do?
 
It must. But if doesn't work as Jeff said you should discuss this with your hosting provider.
 
Strange because it still doesn't work.
I added a picture of the MimeTypes part, could well be that I did something wrong.
If not, I'll try and contact the host.
 

Attachments

  • directadmin.png
    directadmin.png
    44.3 KB · Views: 42
You should add the following for excel file:
.xls application/excel
.xls application/vnd.ms-excel
.xls application/x-excel
.xls application/x-msexcel
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

For Word file:
.doc /application/msword
.dot application/msword
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document

For
.ppt application/vnd.ms-powerpoint
.pptm application/vnd.ms-powerpoint
.pptm application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation

And etc.
Check this link it my be helpful fore you.
 
Back
Top