There is a good nodejs module (remote-file-watcher) for this exact use available on npmjs.com

In reply to Re^2: Monitoring an FTP upload directory by Anonymous Monk
in thread Monitoring an FTP upload directory by friedo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":