I am attaching my batch file and script.
The program runs every 20 minutes for a couple of hours. Most of the time it will not find any files to download.
When that happens I get a return code of 0 with the message: no files matching 'mask' found.
I need to determine if files were found and successfully downloaded but I can't figure out
1. How to determine if files were found
2. How I should code getting the information
3. Where to put the code
so that my batch file will send me an email if files are actually downloaded.
Can you help?