downloadMultipleObjects: downloadMultipleObjects

Description Usage Arguments Value Examples

Description

downloadMultipleObjects

Usage

1
2
3
downloadMultipleObjects(bucketname, src, dest = ".", pattern = NULL,
  resume = TRUE, split = 5, method = "aria2", quiet = TRUE, ...,
  .progressbar = TRUE, .parallel = TRUE)

Arguments

src

The objects to be downloaded. Ended with "/" means the whold "folder" will be download.

dest

Local destination to save the files.

pattern

Filter which files to be uploaded.

resume

Auto resume from last failed download or not.

split

How many download progress at the same time.

method

Same argument in download.file. Supports aria2 if installed.

quiet

Suppress status messages or not.

...

Arguments pass to downloadObject.

.progressbar

Show progress bar or not.

.parallel

Parallel multiple upload or not. When False, split will be disable too.

Value

named status_codes indicates failed or success.

Examples

1
2
3
4
5
downloadMultipleObjects('ross-test', 'test/tmp')
r<-downloadMultipleObjects('ross-test', 'test/tmp/cache2/')
r<-downloadMultipleObjects('ross-test', 'test', '~/asdf')
r<-downloadMultipleObjects('ross-test', 'test', '~/asdf', resume=F, .parallel = F)
r<-downloadMultipleObjects('ross-test', 'test', '/Volumes/RamDisk/asdf', pattern="tmp", quiet = F, split=10, .progressbar = F)

gahoo/ross documentation built on May 16, 2019, 5:35 p.m.