edit-icon download-icon

How does OSS verify the integrity of uploaded files?

Last Updated: Dec 26, 2017

ETags are created for objects in OSS. ETag identifies whether server data changes. However, the label is not equivalent to the MD5 value of an object file and it is not recommended using the label as a basis for verifying data consistency.

To check whether the file uploaded to OSS is consistent with the local file, attach the Content-MD5 value to the file while uploading and then the OSS server helps users with the MD5 check. Only when the MD5 of the file received by OSS server is equal to the Content-MD5 value can the uploading process be completed. This can guarantee the consistency of uploaded data.

If the problem persists, contact the after-sales technical support.

Thank you! We've received your feedback.