Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

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

Firefox downloads wrong file format/type

  • 5 réponses
  • 0 a ce problème
  • 4 vues
  • Dernière réponse par markwarner22

more options

Firefox downloads .ai files too often as .pdf files, which, although I can open in Adobe Illustrator and/or change the file suffix to open in Adobve Illustrator instead of it automatically opening in Acrobat (unless I right click into Illustrator), is a hassle and concerns me of unintentional file corruption. I don't know why Firefox is downloading .ai files as .pdf files, but it is impractical and frustrating. None of the file download settings I adjusted fixed the issue.

Is this a known issue? The only thread/question I found on this type of issue where files get downloaded as the wrong filetype/suffix was an archived question on .ddd files being downloaded as .pdf files. Please let me know if this is something the devs are aware of and can work to fix it.

Firefox downloads .ai files too often as .pdf files, which, although I can open in Adobe Illustrator and/or change the file suffix to open in Adobve Illustrator instead of it automatically opening in Acrobat (unless I right click into Illustrator), is a hassle and concerns me of unintentional file corruption. I don't know why Firefox is downloading .ai files as .pdf files, but it is impractical and frustrating. None of the file download settings I adjusted fixed the issue. Is this a known issue? The only thread/question I found on this type of issue where files get downloaded as the wrong filetype/suffix was an archived question on .ddd files being downloaded as .pdf files. Please let me know if this is something the devs are aware of and can work to fix it.
Captures d’écran jointes

Toutes les réponses (5)

more options

Firefox sometimes changes the file extension when server sends different MIME type.

On the server side the proper MIME type should be set, or on the client side you could try to use some extension, for instance Content-Type Fixer.

Modifié le par TyDraniu

Cela vous a-t-il été utile ?

more options

TyDraniu said

Firefox sometimes changes the file extension when server sends different MIME type. On the server side the proper MIME type should be set, or on the client side you could try to use some extension, for instance Content-Type Fixer.

Would I be able to see in 'inspect' the data where Firefox is reading the file as a pdf even while it's an illustrator file? If so, where do I navigate to? I want to compare it to instances where it downloads the file type correctly.

Cela vous a-t-il été utile ?

more options

You can find it in Developer tools in Network tab.

Cela vous a-t-il été utile ?

more options

Thanks.

Is there a way to fix this without an extention? Like using the Firefox dev tools to tell firefox to download files from a specific trusted website not looking at MIME type rather mimicking the way chrome checks and downloads file types?

Cela vous a-t-il été utile ?

more options

So what sites is this that the your trying to download from that is mixing up the file format? This will help others see what the sites list for the format.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.