问题
Is it possible to get the name of the user who just pasted a file into a folder?
A brief overview of what I am trying to do: My application keeps watch on a folder for new files every 10 minutes. If it finds any new file it will upload that file via FTP to a specified location. I would like to know who dropped this file into the folder. Please note that this could be different from the person who created the file.
Thanks Nishant
回答1:
The identity of the user modifying a file is not stored in the NTFS Change Journal, but you could use auditing of file access as suggested in this related post.
来源:https://stackoverflow.com/questions/9188961/fetching-the-username-who-last-modified-or-created-the-file