Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 65 ont ce problème
  • 14 vues
  • Dernière réponse par 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.

Modifié le par Philippe2705

Toutes les réponses (2)

more options
more options

It works! Thanks for your help.

Philippe.