UploadPart

Prev Next

Available in Classic and VPC

Upload a part of a multipart upload. To upload, you must first create a multipart upload ID by calling the CreateMultipartUpload API.

Request

This section describes the request format. The method and URI are as follows:

Method URI
PUT /{Key}

Request headers

The following describes the request headers.

Note

For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage request headers.

Field Required Description
x-amz-server-side-encryption-customer-algorithm Optional User encryption algorithm (AES256)
x-amz-server-side-encryption-customer-key Optional User-provided encryption key
x-amz-server-side-encryption-customer-key-MD5 Optional User-provided encryption key's MD5 value

Request path parameters

You can use the following path parameters with your request:

Field Type Required Description
Key String Required Object name

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
partNumber Integer Required Part number
  • 1-10,000
uploadId String Required Multipart upload ID

Request example

The request example is as follows:

PUT /object.zip?partNumber=1&uploadId=2c5f5e8c-****-****-****-9cc2c468d0e9 HTTP/1.1
Host: bucket.kr.ncloudstorage.com
Content-Length: 300

<object data>

Response

This section describes the response format.

Response headers

For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage response headers.

Response status codes

For information about the HTTP status codes common to all Ncloud Storage APIs, see Common Ncloud Storage response status codes.

Response example

The response example is as follows:

HTTP/1.1 200 OK