搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 4 回覆
  • 1 有這個問題
  • 81 次檢視
  • 最近回覆由 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.