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

搜索 | 用户支持

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

详细了解

Unable to setup Mozilla to automatically download PDF files in embed HTML

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 chincsx123

more options

Hey there,

I use Adobe Acrobat Pro to open PDFs for work. It always worked fine, set up to automatically open PDFs in Adobe, and they save to Downloads folder. For some reason now, after an update, the PDF always pulls up a save box and asks me to name the file (significantly slows down workflow). This only happened after an update.

I've figured out that the issue is related to a way that the PDFs are generated. So if I click it via a link that ends in .html instead of .pdf, it assumes it's a webpage and opens the pdf link in browser, and from there I have to click save, and then I'm prompted to type in the file name.

If I open a PDF link that's an actual .pdf file URL, then it saves to Downloads automatically and names the file "contractfile-1111" or whatever, numbered consecutively. Any ideas on how to get around this?

Thanks

Hey there, I use Adobe Acrobat Pro to open PDFs for work. It always worked fine, set up to automatically open PDFs in Adobe, and they save to Downloads folder. For some reason now, after an update, the PDF always pulls up a save box and asks me to name the file (significantly slows down workflow). This only happened after an update. I've figured out that the issue is related to a way that the PDFs are generated. So if I click it via a link that ends in .html instead of .pdf, it assumes it's a webpage and opens the pdf link in browser, and from there I have to click save, and then I'm prompted to type in the file name. If I open a PDF link that's an actual .pdf file URL, then it saves to Downloads automatically and names the file "contractfile-1111" or whatever, numbered consecutively. Any ideas on how to get around this? Thanks

被采纳的解决方案

Looking at your screenshot, the HTML link contains an embedded PDF. Hence causing the issue. Since you are using macOS, give this Linux command a try.

1. Open up your terminal 2. Run this command >>> wget -r -A.pdf <your html link here>

Do let me know if it works for you.

定位到答案原位置 👍 1

所有回复 (4)

more options

Hi Peter,

We can try to look into your 'Files and Applications' configuration under Firefox settings. Make sure to save your files to 'Downloads', and set 'PDF' downloads to be automatically saved as a file. You can look into my uploaded screenshot of the optimal settings for your scenario.

Please let me know if you still have any issues on this topic.

more options

Yeah, this is all set. It's hard to explain the issue exactly. I want it to open automatically in Adobe Acrobat, and for most PDF links it does do that automatically - it saves the file to my downloads folder, naming it automatically as the next number contract file (see first screenshot), and opens immediately.

But for a certain type of PDF link, it by default does not read it as a pdf file, but rather a URL (I think), and so it opens that in Firefox PDF viewer. (second screenshot).

From there, I then need to click download file, but then the save window pops up asking me what I want to name it, so it won't load automatically in Adobe and I have to name it something new every time. (third screenshot).

more options

选择的解决方案

Looking at your screenshot, the HTML link contains an embedded PDF. Hence causing the issue. Since you are using macOS, give this Linux command a try.

1. Open up your terminal 2. Run this command >>> wget -r -A.pdf <your html link here>

Do let me know if it works for you.

more options

Yeah, it works.