تلاش سپورٹ

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.

مزید سیکھیں

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

  • 2 جواب دیں
  • 65 میں یہ مسئلہ ہے
  • 14 دیکھیں
  • آخری جواب بذریعہ 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 کی جانب سے میں ترمیمکی گئ

تمام جوابات (2)

more options
more options

It works! Thanks for your help.

Philippe.