s3_upload_part_copy
Copies a byte range from an existing B2 object into a specific part of an in-progress multipart upload, allowing large objects to be assembled from existing data without re-uploading.
Instructions
Copy a part from an existing B2 object into an in-progress S3-compatible multipart upload. Use this to efficiently assemble large objects from existing parts without re-uploading data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The destination object key. | |
| bucket | Yes | The destination bucket name. | |
| uploadId | Yes | The UploadId from s3_create_multipart_upload. | |
| copySource | Yes | The source object in 'bucket/key' format, e.g. 'my-bucket/path/to/file.dat'. URL-encode special characters in the key. | |
| partNumber | Yes | The part number (1–10000). | |
| copySourceRange | No | Byte range to copy from the source, e.g. 'bytes=0-104857599' for the first 100MB. | |
| copySourceVersionId | No | Version ID of the source object to copy from. |