oracle / oci-java-sdk

Oracle Cloud Infrastructure SDK for Java
https://cloud.oracle.com/cloud-infrastructure
Other
192 stars 152 forks source link

Checksum verification isn't working when using mulipart upload (createMultipartUpload) or when using UploadManager.upload #598

Open ihudedi opened 1 month ago

ihudedi commented 1 month ago

Hi, I am trying to perfrom checksum verification on server but when I use large file and use the 2 options: 1.Using UploadManager.upload with UploadManager 2.Using createMultipartUpload/uploadPart/commitParts The server doesn't vewrify the given checksum When using UploadManager - setting the md5 in UploadManager When using createMultipartUpload - there is no setting the md5 only for every part but I want the checksum for all file. I am using latest version Thanks, Itay

ihudedi commented 1 month ago

????

ihudedi commented 1 month ago

Any updates?

jyotisaini commented 1 month ago

Hi @ihudedi what makes you think that the server isn't verifying the checksum ?

ihudedi commented 1 month ago

Hi @jyotisaini When I put incorrect md5 the server doesn't throw any error while when I enter wrong md5 with PutObjectRequest the server return an error for the given md5. Thanks, Itay

ihudedi commented 1 month ago

Hi @jyotisaini Any updates? Thanks, Itay