mirror of
https://github.com/Portabase/agent.git
synced 2026-10-13 00:03:10 +00:00
b6a120fcbf
Extracts the download body to download_once and makes download_backup a retry wrapper around it. This path had no retry at all before, so a single dropped connection failed the whole restore job. Retrying is safe because File::create truncates and the target filename is derived from Content-Disposition or the URL, so it is stable across attempts. There is no Range resume: a download that fails at 90% starts over.