Simple upload refers to uploading objects using the
PUT Object API. It is suitable for uploading an object smaller than 5 GB in a single request.
To upload an object larger than 5 GB, you can use:
When initiating a request, if you want to specify a directory or path, you can use
/. For example, if you need to upload
docdirectory, set the object key to
Simple upload is suitable for uploading an object smaller than 5 GB.
In a high bandwidth or weak network environment, if your object is relatively large, for example, over 100 MB, you are advised to use Multipart Upload, even if the object is smaller than 5 GB. This is because multipart upload supports uploading multiple parts concurrently, which gives full play to resources in high bandwidth environments. On the other hand, in weak network environments, the uploaded parts will not be affected by the failed ones. Therefore, failed parts can be re-uploaded with a simple retry, improving the overall upload success rate. For more information about uploading objects with a client in a weak network environment, please see Multipart Upload Resumption in a Weak Network Environment.
You can use RESTful APIs directly to initiate a simple upload request. For more information, please see PUT Object.
You can directly call the simple upload method in the SDK. For more information, please see the SDK documentation for the corresponding programming language below: