FireFox does not support Macro-enabled Excel file upload?
Hi, recently my team have developed an intranet for our colleagues to upload their working files (mostly excel) to share with other colleagues. During testing, however, we noticed that whenever we tried to upload Macro-enabled Excel files (i.e. xlsm format), Firefox failed to do so, while it has no problem with IE or Chrome. I am not that technical with regards to website development so I don't even know how to approach the problem. Do I need to configure my firefox browser? or do I need to go back to the PHP code and modify there? Many thanks!
すべての返信 (1)
Hi trebuh,
Make sure there is no application association with the file type: Applications panel - Set how Firefox handles different types of files.
The mimetype of .xlsm:
application/vnd.ms-excel.sheet.macroEnabled.12
Its possible to check to make sure the http headers have the correct content type when uploading in the web console as well. If there are any differences in the headers between browsers, that is a server/browser issue. (that may eliminate the code potentially being issue) see alsohttp://kb.mozillazine.org/File_types_and_download_actions
http://www.webdeveloper.com/forum/showthread.php?162526-Is-your-docx-f... I would also recommend trying stackoverflow.com.