fix a few issues: 1. if a file downloaded from the files api is ~64 (60-68) bytes, it is likely a bogus file, and treat it as an error and retry (if it legitimately was ~64 bytes, it will get the file anyway after downloading it 'Retries' times); 2. if a database or poll fails to download, the script should retry and gracefully fail
fix a few issues: 1. if a file downloaded from the files api is ~64 (60-68) bytes, it is likely a bogus file, and treat it as an error and retry (if it legitimately was ~64 bytes, it will get the file anyway after downloading it 'Retries' times); 2. if a database or poll fails to download, the script should retry and gracefully fail