GNOME Bugzilla – Bug 511256
Feature Request - Location Downloaded put into file.
Last modified: 2014-01-08 19:45:47 UTC
This is a just an enhancement but I think it would be a good thing to add - for those of us that forget where we downloaded files from. If the http:// information could be added to the file this would be enormously helpful.
Where exactly should this information be put? How would you access it?
Could the information be added to the Notes section in left-click > Properties > Notes Tab dialog?
*** Bug 169974 has been marked as a duplicate of this bug. ***
Supposedly webkit has support for this already: ./Source/WebKit2/Shared/Downloads/soup/DownloadSoup.cpp: g_file_info_set_attribute_string(info.get(), "metadata::download-uri", response.url().string().utf8().data()); But it doesn't seem to be working here: gvfs-info -a "metadata::*" ~/Downloads/* shows nothing.
$ gvfs-info -a "metadata::*" /tmp/attachment.cgi\?id\=264721 atributos: metadata::download-uri: https://bug674291.bugzilla-attachments.gnome.org/attachment.cgi?id=264721 Works for me. I'll add a unit test in WebKit in any case to make sure.
Btw, we will also include the user.xdg.origin.url extended attribute soon, see bug: https://bugs.webkit.org/show_bug.cgi?id=126638