Could you please help me with change this wonderful script: https://winscp.net/eng/docs/library_example_delete_after_successful_download
We have special .DONE file on our FTP for each main file. This file created as flag when main file uploaded to FTP.
For example, typical structure of our FTP:
I need download main file from FTP using this script only if .DONE file exist.
Many thanks for you help.