Watching data in FTP-Folder and sending Mail if condition is true

Post Reply
maci
Newbie
Posts: 1
Joined: Fri Feb 21, 2025 2:37 pm

Watching data in FTP-Folder and sending Mail if condition is true

Post by maci »

I hope you can help me because I’m a bit stuck on this task. The Switch flow is supposed to do the following:

Data is continuously copied into a specified directory on an FTP server. Switch should scan this directory one level deep for files that have been in the directory for more than 4 hours and notify a service provider via email that files are ready for processing.

I have created a “FTP-In Folder” flow element, which is checked every 4 hours—only from Monday to Friday. I have also defined an “Email Element” that sends an email. What I’m missing is the verification routine that checks when the condition “at least one file has been in the folder for more than 4 hours” is met and then triggers the email.
User avatar
tdeschampsBluewest
Member
Posts: 132
Joined: Tue Jun 01, 2021 11:57 am

Re: Watching data in FTP-Folder and sending Mail if condition is true

Post by tdeschampsBluewest »

Hi,

I don't think the FTP element will achieve what you're looking for in this case.

However, within the "Folder Apps" bundle, there's an application called "Hot Folder Monitor" that does exactly this—but for a local folder.

If you use a third-party application to mount the FTP server as a local folder, this setup becomes entirely feasible. A good option to consider is RaiDrive, which allows you to map an FTP location as a network drive, making it accessible just like any other folder on your system.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Post Reply