So I am running a few game servers for multiple games and am running into an issue with automatic backup of some of the servers. I have a script that downloads the latest zip file once a day at 2am. The issue is with the larger servers that take a long time to make that zip file. If the file is in the process of still being zipped and the script runs to download that zip, the whole process stalls out. If there was a way to download the second newest file this issue would not be a problem. I can't seem to find a way to do this after searching for a few days. Any help would be appreciated.
One line of current script for reference
"get -latest IP_PORT/backups/*.zip F:\Server_backups\ATM6\*" ^