Fetching the username who last modified or created the file

ぃ、小莉子 提交于 2019-12-07 15:05:02

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!