I've been having the same problem with .docx files attached to emails and being saved as un-openable zip files. I am absolutely not computer-savvy. I use IE8 and Windows 7. Please explain this fix in a way I could follow - or suggest a site that would have it. This would save a lot of grief. thanks very much
i am facing the same problem in CFML. i am able to upload office 2007 file but for download when i click on hyperlink in IE it opens a zip file with lots of xml files. i thing i noticed is that when i mouse over the link it shows file name with proper extension (docx or xlsx).
is your problem resolved? plz let me know if u hav any idea?
Just had a customer with this problem of not being able to download .xlsx and .pptx files from webmail the correct way. They were downloading as .zip. He was able to download .docx though. Tested his web account on my computer and it worked for me to download his attachments from his email.
So since it did not seem to be a server problem in this situation I tried to find the differences on the computers. He was running IE8 and I was running IE7 both on Windows XP.
After uninstalling the IE8 upgrade from his computer he was able to download the attachments the right way.
I have been experiencing the same issue when downloading docx files with Internet Explorer and getting zip files.
Does anyone know if there is an article from Microsoft documenting this issue or if they are going to fix it?
For Apache2.2 users still having issues after adding the mime types listed above, read on.
We're running Apache2.2 on Windows Server 2003. Most users are using IE v6+. The IE users were having the same problems with a new .pptx file.
When I checked conf/mime.types, the mime types were already in the file. However, I saw that the "application/vnd.ms-powerpoint" entry only contained the ppt, pps, and pot extensions. Adding the pptx extension fixed the problem.
To avoid future problems with other Office file types, I modified the following conf/mime.types entries as follows:
if you save the docx document as a zip file and then change the extension from .zip to .docx it magically turns it into a word document; to change the file extension, you have to go into control panel and folder options and uncheck the box that says hide extensions
Thanks for the tip, this was very helpful. By the way I placed these apache mime types directly in the mime.types file for Apache config and worked just as well (Removed the add statement word at the front).
I am new to programming and having somewhat similar problem. I am using Opencart ecommerce for selling documents. However, there is a problem. When customer purchases documents which can be doc, docx, ppt, pptx, xls, xlsx, zip, rar etc. The problem is that whenever they are clicked to download "application/octet-stream" pops up to save whether it is doc or docx or even zip!!! However this issue is only with Mozilla as everything works fine in Chrome and IE. Anyone can help me here!!!
I had this problem, my aplication was made on java and the web server was jetty, but i think that with this solution it doent mater about the web server, the only thing that you hava to do is add this lines on your web.xml :