Watching data in FTP-Folder and sending Mail if condition is true
Posted: Fri Feb 21, 2025 3:22 pm
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.
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.