sshtools / maverick-synergy

Next Generation Java SSH API
https://jadaptive.com
GNU Lesser General Public License v3.0
96 stars 26 forks source link

Custom command listener #3

Closed tim-terry-otm closed 4 years ago

tim-terry-otm commented 4 years ago

Hi,

Is it possible to add a custom listener that would be invoked when specific sftp operations occur for auditing purposes? For example; execute some custom method when file is put or deleted via sftp? I'm keen to migrate from apache mina that supports this feature via their 'ftplet' (https://mina.apache.org/ftpserver-project/ftplet.html)

Tim

tim-terry-otm commented 4 years ago

Actually, i've just found that the event listener approach from the legacy server works with the most recent synergy server (https://www.jadaptive.com/app/manpage/en/article/199508). Closing....