搜尋 Mozilla 技術支援網站

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

了解更多

Downloading zip files as pdf

  • 5 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 najjep

more options

Hello

I am a long-time user of firefox and so far I have not had a problem for which I would not find a solution on the Internet.

It’s about using firefox in the workplace. I do not have administrator privileges when using a computer.

In my work, I often have to download files from the official (closed intranet) page, which are either in pdf (individual documents) or zip format (larger files).

Lately, I have been downloading a zip file that firefox marks as a pdf and asking if I want to open or save it.

If I save it, it gets saved as pdf and than I have to rename it to zip to correctly open it.

Chrome, on the same workstation, and internet explorer for the file correctly determine that it is in zip format.

I have already refreshed firefox but the problem remains.

Thanks

Hello I am a long-time user of firefox and so far I have not had a problem for which I would not find a solution on the Internet. It’s about using firefox in the workplace. I do not have administrator privileges when using a computer. In my work, I often have to download files from the official (closed intranet) page, which are either in pdf (individual documents) or zip format (larger files). Lately, I have been downloading a zip file that firefox marks as a pdf and asking if I want to open or save it. If I save it, it gets saved as pdf and than I have to rename it to zip to correctly open it. Chrome, on the same workstation, and internet explorer for the file correctly determine that it is in zip format. I have already refreshed firefox but the problem remains. Thanks

被選擇的解決方法

See these threads:

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

Probably it's our bug (for instance #1684183). It should be fixed in 85.

more options

With what content-type is this file send by the server ?

You can check this in the Web Console or Network Monitor.

If the server sends the file as "application/pdf" and not as a ZIP archive then Firefox will use the file extension linked to this MIME type (i.e. .pdf).

You can also try an extension, but I'm not sure if it will be useful in this case.

more options

This is a problem when transferring scanned documents that are stored in a folder as pdf files and compressed into a zip file.

more options

選擇的解決方法

See these threads:

more options

I installed content-type-fixer add-on and it downloaded correctly zip as zip.

Thank you for your support.