Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

403
Views
how to pass md5 checksum as a parameter using transfer.upload_file()?

I want to pass the precalculated md5 checksum of a file as a parameter[Boto3], so that s3 checks against its own calculated md5/etag and discards if the md5 doesn't match. (I do know that in multipart etag is not md5). Is there a way to do it with(s3transfer) transfer.upload_file()? Or any other way to do that? Please point me in right direction. Thanks

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can only store the md5 into metadata and use it as verification as describe here, to use md5 as verification , it is only possible using put_object

s3 tranfer allow you to save the metadata but without verification ability .

transfer.upload_file('/tmp/myfile', 'bucket', 'key',
                     extra_args={'Metadata': {'a': 'b', 'c': 'd'}})
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!