downloadS3File: AWS Support Function: Downloads a key from an S3 Bucket into...

Description Usage Arguments Details Author(s)

View source: R/awsFunctions.R

Description

AWS Support Function: Downloads a key from an S3 Bucket into a local file.

Usage

1
downloadS3File(bucketName, keyName, localFile)

Arguments

bucketName

destination bucket

keyName

key to download. ".all" to pull all keys

localFile

local file name or path if ".all" is called for keyName

Details

Pulls a key (file) from a bucket into a localFile. If the keyName = ".all" then all files from the bucket are pulled and localFile should be a directory name. Ignores "sub directories" in buckets.

Author(s)

James "JD" Long


leeper/segue documentation built on May 21, 2019, 1:39 a.m.