為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Pdf files uploaded with Firefox 45 marked as unknown in Google Drive

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

more options

Hello, I have a problem uploading a pdf file in either Google Drive or a web form using Firefox 45.0 Mozilla Firefox for Linux Mint mint-1.0 . My SO is Mint 17.3. Google Drive mark as "unknow" the file pdf uploaded and it's not possible to open it. Web forms where I try to upload files pdf shows error message "this is not a pdf file".

In the screenshot attached to this support you can clearly see file "test 2 firefox 45.pdf" reported as unknown file.

Files "test2" and "test 2 mint" are pdf created in Mint, uploaded via Firefox 38 with SO Debian.

The same files uploaded via Firefox 45 in OneDrive works perfectly.

Any suggestions are welcome.

Thank you.

Hello, I have a problem uploading a pdf file in either Google Drive or a web form using Firefox 45.0 Mozilla Firefox for Linux Mint mint-1.0 . My SO is Mint 17.3. Google Drive mark as "unknow" the file pdf uploaded and it's not possible to open it. Web forms where I try to upload files pdf shows error message "this is not a pdf file". In the screenshot attached to this support you can clearly see file "test 2 firefox 45.pdf" reported as unknown file. Files "test2" and "test 2 mint" are pdf created in Mint, uploaded via Firefox 38 with SO Debian. The same files uploaded via Firefox 45 in OneDrive works perfectly. Any suggestions are welcome. Thank you.
附加的畫面擷圖

被選擇的解決方法

Sometimes Firefox will send websites the wrong content-type for an upload if this settings file has become corrupted: mimeTypes.rdf

Could you try this:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter/Return

In the first table on the page, click the "Show Folder" / "Show in Finder" / "Open Directory" button. This should launch a new window listing various files and folders.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit / Quit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to mimeTypes.old.

Start Firefox back up again. Does the Google Drive upload work any better?


References:

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

所有回覆 (2)

more options

選擇的解決方法

Sometimes Firefox will send websites the wrong content-type for an upload if this settings file has become corrupted: mimeTypes.rdf

Could you try this:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter/Return

In the first table on the page, click the "Show Folder" / "Show in Finder" / "Open Directory" button. This should launch a new window listing various files and folders.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit / Quit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to mimeTypes.old.

Start Firefox back up again. Does the Google Drive upload work any better?


References:

由 jscher2000 - Support Volunteer 於 修改

more options

Thanks jscher2000 Your solution helped a lot.

In Firefox 45 you can find Open Directory under Application Basic -> Profile Directory -> Open Directory

But, in my MINT 17, when you click the tab it open Package Installer and show gdebi-gtk message " Could not open 'mwad0hks.default' The package might be corrupted or you are not allowed to open the file. Check the permission of the file.

Well, no problem. For Linux users there is a easy way.

Clean Firefox history and close Firefox, - then go in your Home Folder, - show hidden files ( ctrl + h or click View tab -> Show Hidden Files ) - find and open folders .Mozilla -> Firefox -> mwad0hks.default.

You can find mimeTypes.rdf and rename to mimeTypes.old

This worked for my problem.

Thanks again.

由 Markuus 於 修改