Description Usage Arguments Examples
HeadObject
1 2 | HeadObject(bucketname, key, ETag = NULL, ETag.match = TRUE, since = NULL,
modified.since = TRUE)
|
bucketname |
The bucket name |
key |
The file path of object on oss. |
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 5 | r <- PutObject('ross-test', 'test.txt')
HeadObject('ross-test', 'test.txt')
etag <- gsub('"', '', r$headers$etag)
HeadObject('ross-test', 'test.txt', ETag=etag, ETag.match=T)
HeadObject('ross-test', 'test.txt', ETag=etag, ETag.match=F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.