forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
26 lines
1.5 KiB
HTML
26 lines
1.5 KiB
HTML
<a name="obs_03_0062"></a><a name="obs_03_0062"></a>
|
|
|
|
<h1 class="topictitle1">Copy Object</h1>
|
|
<div id="body1442649345339"><p id="obs_03_0062__p6499118610142">You can copy an object to a new object with the same name.</p>
|
|
<p id="obs_03_0062__p50353292164659">You can copy objects using PUT or COPY:</p>
|
|
<ul id="obs_03_0062__ul68706318152"><li id="obs_03_0062__li1228060157">Use PUT method and add the <strong id="obs_03_0062__b4287617157">X-Copy-From</strong> request header.</li><li id="obs_03_0062__li78701312157">Use the COPY method.</li></ul>
|
|
<p id="obs_03_0062__p52446000165230">Both methods have the same effect.</p>
|
|
<p id="obs_03_0062__p6486044165041">The COPY operation always creates a new object. If you use this operation on an existing object, replace the existing object and metadata.</p>
|
|
<p id="obs_03_0062__p20974058165238">If you use this operation to copy a manifest object, the new object is a normal object and not a copy of the manifest. Instead it is a concatenation of all the segment objects. This means that you cannot copy objects larger than 5 GB.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="obs_03_0063.html">Request</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0064.html">Response</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0065.html">Examples</a></strong><br>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0053.html">Operations on Objects</a></div>
|
|
</div>
|
|
</div>
|
|
|