I was wondering if somehow we can get file's "Where from" info. I am using stat() to get other file info like creation date, modification time etc. But I don't know how to get it's "Where from" info. Basically on MAC, if we download some file from the internet and right click and get info of that file, then there is a option that says "More info" under more info, we get this "Where from" info, which contains the address from which we downloaded that file.
I believe that info's held in an additional stream on the file. This is certainly the case for Windows.
Of course, additional streams are a feature of the filesystem (and not the file), so it would depend on what filesystem you're now using (I take it, it's not a native Mac filesystem).