搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

FireFox does not support Macro-enabled Excel file upload?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 guigs

more options

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!

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)

more options

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.