Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Validate Checksums using MD5 in MinIO with Go SDK for multi-part upload #1956

Open
BrucePeng92 opened this issue Apr 23, 2024 · 0 comments

Comments

@BrucePeng92
Copy link

I can calculate the MD5 of the complete file. After all the parts are uploaded, how to use this MD5 when CompleteMultipartUpload?

Firstly, use minio.NewCore new a core client.

Using core.NewMultipartUpload new a multipart upload.
Using core.PutObjectPart upload parts.

After all the parts are uploaded.
Using core.ListObjectParts get all parts, convent ObjectParts to CompletedParts.
Using core.CompleteMultipartUpload to concatenate uploaded parts and commit to an object.

How can I use MD5 to Validate Checksums in this CompleteMultipartUpload

@bh4t bh4t added the community label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants