OSS supports two approaches for parallel large-object uploads: the ossutil CLI and the Multipart Upload API.
ossutil
Use the cp command with the following options to control concurrency and part size:
| Option | Description |
|---|---|
-bigfile-threshold | Size threshold above which ossutil switches to multipart upload |
-jobs | Number of concurrent file-level transfer tasks |
-parallel | Number of concurrent part-level transfer tasks per file |
For full parameter details and examples, see ossutil cp.
Multipart Upload API and SDK
Call the Multipart Upload API concurrently from your own code, or use the built-in concurrency controls in the OSS SDK:
| SDK | Concurrency parameter | Reference |
|---|---|---|
| Java SDK | taskNum | Resumable upload |
| Python SDK | num_threads | Resumable upload |
For other languages, call the Multipart Upload API directly and manage concurrency in your application code.
Applies to
Object Storage Service (OSS)