HCP Tenant Management Help
Here’s a sample PUT request that uploads a part of the multipart upload for an object named acctg/RulesAndRegulations.pdf in the finance bucket by copying part of the data for an existing object named AcctgBestPractices.doc in the same bucket.
The example shows the response headers HCP returns while versioning is enabled for the bucket.
Request with s3curl command line
./s3curl.pl --id=lgreen --copysrc=finance/AcctgBestPractices.doc -- -k
"https://finance.europe.hcp.example.com/acctg/RulesAndRegulations.pdf
?uploadId=94837746087105&partNumber=5"
-H "x-amz-copy-source-range: bytes=2800000-9499999"
-H "x-hcp-pretty-print: true"
Request headers
PUT /acctg/RulesAndRegulations.pdf?uploadId=94837746087105&partNumber=5 HTTP/1.1
Host: finance.europe.hcp.example.com
Date: Fri, 10 May 2019 17:19:26 +0000
Authorization: AWS bGdyZWVu:a0wC/DuV+w2Agq6FagnIe6cShaU=
x-amz-copy-source: finance/AcctgBestPractices.doc
x-amz-copy-source-range: bytes=2800000-9499999
x-hcp-pretty-print: true
Response headers
HTTP/1.1 200 OK
Date: Fri, 10 May 2019 17:19:26 GMT
ETag: "bbe438b2a0376f08dc37867a82ea87e6"
x-amz-version-id: 94871138333377
x-amz-copy-source-version-id: 94860356828929
Content-Type: application/xml;charset=UTF-8
x-amz-server-side-encryption: None
Transfer-Encoding: chunked
Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CopyPartResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<LastModified>2017-02-23T17:19:26.000Z</LastModified>
<ETag>"bbe438b2a0376f08dc37867a82ea87e6"</ETag>
</CopyPartResult>
Trademarks and Legal Disclaimer
© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.