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:
- is possible miss file upload?
- is possible
in_close_write
fired in other situations inconsistent files instead of ready use files?
- if incrond service crashes or stopped loose notification during time
-
in_close_write
should work.
Comments
Post a Comment