Python Forum

Full Version: Notify when a new file lands in a directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

We have an SFTP server and would like to be able to receive an email/SMS when a new file lands in a directory structure. Is there a python solution that can cater for this please?

Many thanks,

FioranoSnake
I'd suggest looking at this package: https://pypi.org/project/watchdog/