Download file using curl allowing resumption of interrupted files
Source:R/taxa.R
resumableDownload.RdA helper function that uses the curl package's multi_download to download a file using a temporary file to store progress and resume downloading on interruption.
Arguments
- url
The address to download from
- outFile
The file location to store final download at
- tmpFile
The file location to store the intermediate download at
- quiet
If TRUE show the progress reported by
multi_download- resume
If TRUE try to resume interrupted downloads using intermediate file
tmpFile. Otherwise deletetempFileon error- ...
Additional arguments to
multi_download