resumableDownload: Download file using curl allowing resumption of interrupted files
Description
A 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.