File Metadata

Mar 6, 2009 at 8:22am
Hi Guys,

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.

Any thoughts?

Thanks in advance
Mar 6, 2009 at 10:00am
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).
Mar 6, 2009 at 5:31pm
It's HFS+
Last edited on Mar 6, 2009 at 5:33pm
Topic archived. No new replies allowed.