Event before delete file

  • Thread starter Thread starter facicad
  • Start date Start date
F

facicad

I would like to know if as event before delete file exist. My probleme is
with FileSystemWatch, it is only Deleted event, and went I want copy for
bakup my file, the file do not exist :(
 
Personally I don't know of such an event. If storage isn't a problem, you
could theoretically monitor the change event and just make a backup of the
file at that point - later, when Deleted is raised, you'll have a backup to
replace the deleted file.

Hope that helps,
Alex
--------------------
 
Look my probleme. On server, if any user delete files, I would like copy
this file on specific directory, beacause Windows server 2000 can't put any
delete files in trash. For this I can catch raise delete button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top