Answer the question
In order to leave comments, you need to log in
How to make a notification by mail if a file appears in a folder on FTP?
I have a folder on the server, for example , one of the employees can put an important file there, which must be quickly picked up from there. But you need to know that the file appeared there, the best way is to send a message like alert to soap.
How to implement this please?
Answer the question
In order to leave comments, you need to log in
I use this script at home (tracks: deletion, addition, file changes), I set up an alert on a telegram chat
If the server is Windows, you can write a console or Windows service that will monitor the folder for changes. In .NET, for example, there is a FileSystemWatcher, to which you can hook an event handler to create or change a file. Accordingly, in this handler, implement sending a letter.
I am sure that this can be implemented using PowerShell, for example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question