Streams the object to disk. It is written next to its final name with
the suffix .s3pe-part and renamed when complete and verified, so an
interrupted download leaves nothing at path.
Usage
download_s3(key, path, bucket = NULL, overwrite = FALSE, config = s3_config())Arguments
- key
Object key inside
bucket, or ans3://bucket/keyURL.- path
Where to write. Its directory is created if needed.
- bucket
Bucket; defaults to the config's bucket (
S3PE_BUCKET).- overwrite
Replace
pathif it exists?- config
An
s3_config().