I want to get notify whenever the new files added to a directory in FTP server. Is there any method to tell me that new files are added?
Asked
Active
Viewed 1,335 times
0
-
Polling. FTP doesn't have a watch feature. – user207421 Jul 21 '20 at 09:45
-
can we download newly added files from particular directory in FTP? – Shobha H N Jul 21 '20 at 09:50
1 Answers
0
FTP does not support this natively. Hence you do one of the following:
- write a short script to watch the directory and send an email/notification (just a few lines Python)
- use an existing module, aka pywatch
- use an orchestration operator such as Airflow sensor, if your files are part of a larger process and you want to trigger jobs when the files arrive

tomanizer
- 851
- 6
- 16