CompleteMultipartUpload
    • PDF

    CompleteMultipartUpload

    • PDF

    기사 요약

    개요

    uploadId 파라미터와 본문에 있는 해당 XML 블록으로 오브젝트에 POST 요청을 보내면 멀티파트 업로드를 완료합니다.

    구문

    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>
    

    예시

    요청 예시

    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.gov-ncloudstorage.com
    Content-Length: 257
    
    <CompleteMultipartUpload>
      <Part>
        <PartNumber>1</PartNumber>
        <ETag>"7417ca8d45a71b692168f0419c17fe2f"</ETag>
      </Part>
      <Part>
        <PartNumber>2</PartNumber>
        <ETag>"7417ca8d45a71b692168f0419c17fe2f"</ETag>
      </Part>
    </CompleteMultipartUpload>
    

    응답 예시

    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.gov-ncloudstorage.com/example-bucket/multipart-object-123</Location>
      <Bucket>some-bucket</Bucket>
      <Key>multipart-object-123</Key>
      <ETag>"765ba3df36cf24e49f67fc6f689dfc6e-2"</ETag>
    </CompleteMultipartUploadResult>
    

    이 문서가 도움이 되었습니까?

    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.