为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改