Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Downloading a .xlsx file declared as excel MIME type, firefox appends .xls suffix and the file cannot be opened with OpenOffice.

  • 2 tontu
  • 65 am na jafe-jafe bii
  • 14 views
  • i mujjee tontu mooy Philippe2705

more options

I have a program generated Planning.xlsx file on my web server. The Mime definition is as follow: .xlsx;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet When the file is downloaded with IE or Safari, the associated program (Scalc.exe) opens the .xlsx file without any problem. With Firefox however, the download program appends a .xls suffix to the file name (Planning.xlsx.xls) and Scalc is unable to read the file whose content does not match the suffix. Changing the default program to Excel works fine but I can't imagine this can be a definitive solution.

I have a program generated Planning.xlsx file on my web server. The Mime definition is as follow: .xlsx;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet When the file is downloaded with IE or Safari, the associated program (Scalc.exe) opens the .xlsx file without any problem. With Firefox however, the download program appends a .xls suffix to the file name (Planning.xlsx.xls) and Scalc is unable to read the file whose content does not match the suffix. Changing the default program to Excel works fine but I can't imagine this can be a definitive solution.

Philippe2705 moo ko soppali ci

All Replies (2)

more options
more options

It works! Thanks for your help.

Philippe.