Description Usage Arguments Examples
UploadPartCopy
1 2 |
source |
The source object. /bucketname/objectname |
bucketname |
Destinate bucket |
key |
Destinate path on bucket |
uploadId |
Multipart upload event ID. InitiateMultipartUpload will return this in the response. |
partNumber |
Part number indicating which part uploading. Coresponding to relative position in the file. Data will be overwrite when the part already exists. |
Range |
The object content range, '0-99' means the first 100 bytes. |
ETag |
ETag of object. |
ETag.match |
Copy when ETag matches or copy when Etag not match. |
since |
POSIXct time. |
modified.since |
Copy when object was modified since a time, or copy when object was not modified since a time. |
1 2 3 4 | PutObject('ross-test', 'test.txt', 'test')
r <- InitiateMultipartUpload('ross-test', 'multi-test.txt')
uploadId <- unlist(xpath2list(httr::content(r), '//UploadId'))
UploadPartCopy('/ross-test/test.txt', 'ross-test', 'multi-test.txt', uploadId, 2, Range = '0-1')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.