Dectecting dir changes

Steve Holden steve at holdenweb.com
Fri Dec 9 11:50:05 EST 2005


chuck wrote:
> I need to write a daemon for Solaris that monitors a directory for
> incoming FTP transfers.  Under certain conditions, when the transfer is
> complete I need to send an email notification, and do other stuff.
> Win32 provides FindFirstChangeNotification(), but as best I can tell
> this isn't supported on Solaris.
> 
[...]
> 
> Suggestions?
> 
Write an FTP server in Python, then it will know exactly when each file 
transfer is complete, and it can do the mailing itself!

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list