• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide (S3cmd)
  4. FAQs
  5. Does S3cmd Support Resumable Upload?

Does S3cmd Support Resumable Upload?

Yes.

S3cmd put can use the --continue-put parameter for resumable upload. When a PUT operation stops unexpectedly and then resumes, S3cmd obtains from OBS the information (for example the MD5 value) about the part that has been uploaded, and compares it with the information about the part that waits to be uploaded. If the two pieces of information are consistent, this part has been successfully uploaded and S3cmd will not re-upload it. If the two pieces of information are not consistent, S3cmd continues to upload the object.

If an object is stored in multiparts on OBS, S3cmd get can use the --continue parameter for resumable download. When a GET operation stops unexpectedly and then resumes, S3cmd obtains from OBS the information (for example the MD5 value) about the part that waits to be downloaded, and compares it with the information about the part that has been downloaded. If the two pieces of information are consistent, this part has been successfully downloaded and S3cmd will not re-download it. If the two pieces of information are not consistent, S3cmd continues to download the object.

S3cmd sync invokes PUT and GET in synchronization. When S3cmd sync synchronizes a local object to OBS, it can use the --continue-put parameter to implement resumable upload. When S3cmd SYNC downloads an object from OBS, it can use the --continue parameter to implement resumable download.