It would be nice to be able to launch external scripts upon certain sftp-server events (like file successfully uploaded/moved/deleted) with the name/path of the relevant file being passed to the script. This can be useful for file synchronization to another host or automatic manipulation of uploaded files. Thank you!
We don't intend to implement anything like this in sftp-server. I suggest that you build something around fsnotify: https://github.com/fsnotify/fsnotify
closing resolved bugs as of 8.6p1 release