![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How do I get PDF files to *automatically* save as the file name provided by the source?
When I download a PDF file in Firefox, the file name changes from whatever name source used (e.g, important-report.pdf) to a miscellaneous group of characters (e.g., X2ba5zt.pdf). I often want to save the file using the 'source' name. I realize that can so do by changing the file name, but I would like to know if there is a way to set the default so that the source file name is used.
All Replies (4)
I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename. Maybe one of the settings in about:config controls that? pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?
Where do I find pdfjs.previousHandler.preferredAction? And shouldn't something like this be readily configured?
That setting is in about:config. Do a search for pdf to find it there. I am not sure what that setting does, and it is the only one for pdf which is not straightforward.
Thanks for your continued feedback.
I wonder if there is anyone else in the forum who could help both of us on this issue.