TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
NeCroFire
NA
86
0
Keep track of files being copied, moved, or deleted.
Nov 18 2010 5:21 AM
Hi
I need to create an app that will log any files being copied, moved, or deleted in a specified directory. The idea is to try and prevent duplication of a file in different folders and if a user tries to copy a file that is already somewhere in the specified location, the app will let the user know and he/she will then have a choice to either continue or not.
I'm not really sure how to accomplish this. I guess the FileSystemWatcher is an option, but I've had problems with it in the past where it would hold onto a file and prevent any change to said file. Another way I thought might work is to monitor the Clipboard, but what if you paste the file from your PC to another? How would the "receiving" PC know to check for duplication?
So the only thing I can think of is somehow catching windows events?? Maybe that's a stupid idea??
Maybe there is already something like this out there? If so, then my Googling skills suck.
Any advice would be appreciated.
Thanks
Reply
Answers (
1
)
WCF - Basic example
Need to insert data from XML to my MS ACCESS Database