How can i know if a folder on a server was opened or deleted?
Hi everyone!
I have a folder in my local network server with important files to me and some other users.
I want to display a warning message to other network users when they try to open, or delete that folder to not do it, or take care to not delete or move the files inside the folder.
How can i do this, any ideas and sample codes, will be really appreciated.
Thanks alot.
Re: How can i know if a folder on a server was opened or deleted?
You might be able to do this with the FindFirstChangeNotification API.
Re: How can i know if a folder on a server was opened or deleted?
Anything you do would be moot unless the folks were actually using your program.
There is nothing to prevent them from opening Windows Explorer and doing whatever they wish, providing, of course, that they have the correct permissions in place to do so.