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

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -