CompleteMultipartUpload
    • PDF

    CompleteMultipartUpload

    • PDF

    Article Summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Overview

    Completes the multipart upload by making a POST request with the uploadId parameter and the XML block to the object.

    Request

    Syntax

    POST https://{endpoint}/{bucket-name}/{object-name}?uploadId={uploadId} # path style
    POST https://{bucket-name}.{endpoint}/{object-name}?uploadId={uploadId} # virtual host style
    
    <CompleteMultipartUpload>
      <Part>
        <PartNumber>{sequential part number}</PartNumber>
        <ETag>{ETag value from part upload response header}</ETag>
      </Part>
    </CompleteMultipartUpload>
    

    Examples

    Request example

    POST /some-bucket/multipart-object-123?uploadId=0000015a-df89-51d0-2790-dee1ac994053 HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20170318T035641Z
    Content-Type: text/plain; charset=utf-8
    Host: kr.object.ncloudstorage.com
    Content-Length: 257
    
    <CompleteMultipartUpload>
      <Part>
        <PartNumber>1</PartNumber>
        <ETag>"7417ca8d45a71b692168f0419c17fe2f"</ETag>
      </Part>
      <Part>
        <PartNumber>2</PartNumber>
        <ETag>"7417ca8d45a71b692168f0419c17fe2f"</ETag>
      </Part>
    </CompleteMultipartUpload>
    

    Response example

    HTTP/1.1 200 OK
    Date: Fri, 03 Mar 2017 19:18:44 GMT
    Accept-Ranges: bytes
    ETag: "765ba3df36cf24e49f67fc6f689dfc6e-2"
    Content-Type: application/xml
    Content-Length: 364
    
    <CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
      <Location>https://kr.object.ncloudstorage.com/example-bucket/multipart-object-123</Location>
      <Bucket>some-bucket</Bucket>
      <Key>multipart-object-123</Key>
      <ETag>"765ba3df36cf24e49f67fc6f689dfc6e-2"</ETag>
    </CompleteMultipartUploadResult>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.