FTP Upload Trigger AppleScript Using Fetch?

Curiuos if it’s possible to have an AppleScript execute when a specific file name has been uploaded to my FTP server?

I use an app called FTP Cam on my iPhone that I’m hoping to trigger some events in my home automation software
when an image has been uploaded.



You might be able to Applescript an FTP app like Transmit (on your home Mac) to do a synchronize every few minutes then do an action, like a folder action, if new files are added.

What is the FTP server running on? Linux or Mac OS X or Windows?