Notify Java or Python when a file has been uploaded with the SFTP protocol -


i use several applications upload files using sftp protocol specific directory on server. i'ld write application deployed on server, using java or python programming language. application has notified when new file has been added directory. i'ld without polling directory. possible?

yes - java 7 use watchservice. python see pyinotify.

the underlying mechanism inotify, , can produce shell-level solutions use inotify-tools run small helper application every time file added.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -