The OSS SDK for Python V2 provides various operations for uploading files. You can select the operation that best fits your scenario.
|
Type |
Operation name |
Description |
|
client.put_object |
|
|
|
client.put_object_from_file |
|
|
|
client.append_object |
|
|
|
AppendOnlyFile operation AppendOnlyFile.write AppendOnlyFile.write_from |
|
|
|
Multipart upload operations client.initiate_multipart_upload client.upload_part client.complete_multipart_upload |
|
|
|
/ |
|
|
|
client.presign |
|
|
|
Uploader.upload_from |
|
|
|
Uploader.upload_file |
|