--- title: "complete-multipart-upload" slug: "cli-objectstorage-api-level-complete-multipart-upload" updated: 2026-09-17T09:16:11Z published: 2026-09-17T09:16:11Z canonical: "cli.ncloud-docs.com/cli-objectstorage-api-level-complete-multipart-upload" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # complete-multipart-upload 멀티파트 업로드를 통해 이미 업로드한 파트를 조합하여 객체를 생성하고 멀티파트 업로드를 완료합니다. ## 구문 `complete-multipart-upload` 구문은 다음과 같습니다. ``` aws s3api complete-multipart-upload \ --bucket \ --key \ --upload-id \ --multipart-upload \ [--mpu-object-size ] \ [--sse-customer-algorithm ] \ [--sse-customer-key ] \ [--sse-customer-key-md5 ] \ --endpoint-url ``` ## 옵션 `complete-multipart-upload` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `complete-multipart-upload`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--bucket` | String | Required | 버킷 이름 | | `--key` | String | Required | 객체 이름 | | `--upload-id` | String | Required | 멀티파트 업로드 ID - [list-multipart-uploads](/docs/cli-objectstorage-api-level-list-multipart-uploads) 참조 | | `--multipart-upload` | String | Required | 결합할 파트 목록 - 업로드한 각 파트의 `ETag`와 `PartNumber`를 JSON 형식으로 입력 - `file://` 접두사로 JSON 파일 경로 지정 가능 | ### 선택 옵션 `complete-multipart-upload`의 선택 옵션입니다. 지정하지 않은 옵션에는 기본값이 적용됩니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--mpu-object-size` | Long | Optional | 멀티파트 업로드 요청의 예상 총 객체 크기 - 지정된 객체 크기 값과 실제 크기 값이 다른 경우, HTTP 400 `InvalidRequest` 오류 발생 | | `--sse-customer-algorithm` | String | Optional | 사용자 암호화 알고리즘 (AES256) | | `--sse-customer-key` | String | Optional | 사용자 제공 암호화 키 | | `--sse-customer-key-md5` | String | Optional | 사용자 제공 암호화 키의 MD5 값 | ### 공통 옵션 `aws` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Object Storage 옵션](/docs/guide-objectstorage#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 멀티파트 업로드 완료 요청이 성공하면 생성된 객체의 식별 정보와 위치 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` aws s3api complete-multipart-upload --bucket my-test-bucket \ --key large.bin \ --upload-id {upload_id} \ --multipart-upload file://mpu.json \ --endpoint-url=https://kr.object.ncloudstorage.com ``` - mpu.json 예시 ``` { "Parts": [ { "PartNumber": 1, "ETag": "\"8f4e33f3dc3e414ff94e5fb6905cba8c\"" }, { "PartNumber": 2, "ETag": "\"57325bca2c5c2cb6adf5aa9a66fb4e2d\"" }, ... ] } ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "Location": "http://kr.object.ncloudstorage.com/my-test-bucket/large.bin", "Bucket": "my-test-bucket", "Key": "large.bin", "ETag": "\"1b3e2fdb09fcd6df94df5567914a17d4-2\"" } ```