![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to find "Deleted" download file location
I use `Always ask you where to save files` when download and every time I download something they're always in different places.
The problem is if I rename the file when I forget to rename it before I press the download, Firefox says the file is missing and refuses to tell me where did I save that file. The `Open Contained Folder` is greyed out and I can't find any location related text.
How can I find where did I download my files?
And why `Open Contained Folder` has to be greyed out?
Solution choisie
For the folks who have the same problem.
There's an SQLite file named `places.sqlite` in the profile folder.
The `moz_annos` table is where your download history is.
Lire cette réponse dans son contexte 👍 0Toutes les réponses (5)
Open file or open containing folder only works if the file is still in the original download location with the same name as how you saved the file. If you renamed or moved the file then this won't work anymore and you need to search the hard drive for the modified name if you do not remember where you saved the file. There is not much Firefox can do if it doesn't find the file. You can possibly try to re-download the file to see whether Firefox proposes the same download folder like I sometimes do when I click the Save button too quickly without looking in what folder I saved the file.
No, the only thing Firefox need to do is not grey out `Open Contained Folder`.
You only need the folder itself. It's one thing if the contained folder is missing but what the filename currently is doesn't matter at all!!
I never read the code myself but I suppose Firefox greying out that option after checking the file and it isn't there. Wouldn't it work by just remove this function?
Or change from `path.exist` to `path.dirname.exist` or something?
It has nothing to do with the original download folder and I found no good reason to prevent user from open the folder.
Modifié le
Could you point me to the code? I'll file a PR about this.
For the folks who has the same problem.
The database file is `places.sqlite` which is in the Profile Directory.
If you don't know how to open it, the easiest way is use SQLite browser .
The download history is in the `moz_annos`
Solution choisie
For the folks who have the same problem.
There's an SQLite file named `places.sqlite` in the profile folder.
The `moz_annos` table is where your download history is.