Skip to content

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

Open
@BrucePeng92

Description

@BrucePeng92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions