At this moment I have an application that processes a file. My workflow is:
- Someone puts a file in a FTP and notifies me
- I download the file and run my app with that file. It returns a proccessed file.
- I put the result in the FTP again and notify my workmate.
Is there any kind of trigger that executes my code when someone drops a file in the FTP?
You’d be best served monitoring the destination folder for new files and triggering the execution from that. How you go about that would depend entirely on the language or framework your application is written in.
i.e. FileSystemWatcher (c#)