using vsftpd with inotify IN_CLOSE_WRITE event -


i'm trying write event based ftp server notifies me when user uploads file(users never delete or other stuff, upload). apache ftpserver ftplets need java based , not satisfy environment. i'm planning run vsftpd , process besides listens in_close_write event. when vsftpd close file descriptor after finishing file upload, process notified , appropriate action. questions are:

  1. is possible miss file upload?
  2. is possible in_close_write fired in other situations inconsistent files instead of ready use files?

  1. if incrond service crashes or stopped loose notification during time
  2. in_close_write should work.

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -