Skip to main content

upload-part

The aws s3api upload-part command is used to upload a single part of a multipart upload to an Astran S3 bucket. Each part is a portion of the object's data.

aws s3api upload-part --bucket BUCKET_NAME --key OBJECT_KEY --part-number PART_NUMBER --body FILE_PATH --upload-id UPLOAD_ID

This command uploads a part of a multipart upload for the specified object in the specified S3 bucket.

Syntax

aws s3api upload-part \
--bucket BUCKET_NAME \
--key OBJECT_KEY \
--upload-id UPLOAD_ID \
--part-number PART_NUMBER \
--body FILE_PATH

Options

  • --bucket: Specifies the Astran S3 bucket name where the part is being uploaded.
  • --key: Identifies the object key under which the upload is being performed.
  • --part-number: The part number of the part being uploaded. This is a positive integer between 1 and 10,000.
  • --body: The path to the file that is being uploaded as a part.
  • --upload-id: The upload ID of the multipart upload to which this part belongs.

See also the original AWS documentation.