doc-exports/docs/obs/api-swift/obs_03_0062.html
zhangyue 894279c39a Object Storage Service API Reference Swift V1
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-02-02 08:50:48 +00:00

1.5 KiB

Copy Object

You can copy an object to a new object with the same name.

You can copy objects using PUT or COPY:

  • Use PUT method and add the X-Copy-From request header.
  • Use the COPY method.

Both methods have the same effect.

The COPY operation always creates a new object. If you use this operation on an existing object, replace the existing object and metadata.

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.