there will be multiple files per day. Each file will have datetime stamp appended to filename as follows,
Some of example filenames for same day are,
log_190612_0420.csv log_190612_0511.csv log_190612_1445.csv
The datetime stamp of filename will be same as uploaded datetime stamp.
The time part of filename is using 24 Hr format.
I have to write a script for task scheduler which will only download most latest/recent uploaded file for that day. I am allow to use only scripting technique like batch or Powershell.
Any alternative approach would be very helpful.