uploadObject: uploadObject

Description Usage Arguments Examples

Description

uploadObject

Usage

1
2
3
uploadObject(bucketname, src, dest = NULL, resume = TRUE, split = 5,
  maxPartSize = 20 * 1024^2, minMultiSize = 10 * 1024^2,
  .progressbar = TRUE, ...)

Arguments

src

Path to the local file to be uploaded.

dest

Destination path on bucket. Ended with "/" means its a folder.

resume

Auto resume from last failed upload or not.

split

How many parts to be splited. Will be recacluated along with maxPartSize.

maxPartSize

The max size of each part.

minMultiSize

File szie greater than minMultiSize will be splited automatically.

.progressbar

Show progress bar or not. progress bar only work with multipart upload.

...

Other arguments pass to InitiateMultipartUpload.

Examples

1
2
uploadObject('ross-test', 'test.zip')
uploadObject('ross-test', 'test.zip', 'test/test.zip')

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