Description Usage Arguments Examples
CopyObject
1 2 3 |
source |
The source object. /bucketname/objectname |
bucketname |
Destinate bucket |
key |
Destinate path on bucket |
encryption |
server side encryption algorithm AES256 |
acl |
Access control: private, public-read, public-read-write |
meta.directive |
COPY or REPLACE meta info of object. All source meta will be ignore when this value set to REPLACE. |
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. |
... |
Set header directly. Cache-Control, Content-Disposition, Content-Encoding, Expires, ... |
.meta |
Other meta info set to the object, < 8k. |
1 2 3 4 5 6 | CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt')
CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt', encryption = 'AES256')
CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt', acl = 'public-read')
CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt', meta.directive = 'REPLACE', .meta = list(owner='igenecode.com'))
CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt', ETag = 'AAAA', ETag.match = F)
CopyObject('/ross-test/test.txt', 'ross-test', 'test2.txt', since = Sys.time(), modified.since = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.