Downloads a file from a URL with retry and resume support.
Arguments
- url
Character string. Full URL to the file to download.
- dest
Character string. Destination file path.
- overwrite
Logical. Whether to overwrite an existing file. Default: FALSE. If FALSE and the file exists, download is skipped. If TRUE and
resume = TRUE, will attempt to resume from an existing non-empty destination file. If TRUE andresume = FALSE, the file is downloaded from scratch.- resume
Logical. Whether to resume from an existing non-empty destination file when
overwrite = TRUE. Default: TRUE.- timeout
Integer. Download timeout in seconds. Default: 600.
- retries
Integer. Number of retry attempts after the first failure. Default: 3.
