Skip to content

A LITTLE HELP WITH THE JOB AT HAND

Check the integrity of a multipart upload

Use a documented checksum to compare file bytes and interpret multipart ETags correctly.

Open dọwe

Before you begin

The name and byte size help identify a file, while a matching cryptographic digest checks its content. Dowe verifies supported request checksums and checks the declared total, recorded part receipts and a full streamed checksum before publishing the completed file record. Multipart ETags have their own format, so compare a whole-file SHA-256 with another whole-file SHA-256 when you need an end-to-end byte check.

What you can do in dọwe

Validate supported request checksums.

Retain part receipts and a full streamed SHA-256 at completion.

Compare a downloaded file with a local digest using the same algorithm.

Can I compare a multipart ETag directly with my file MD5?

Multipart ETags can describe a combination of part information. For a whole-file check, use an explicitly documented full-object digest and the same algorithm for both copies.

How to get it done

  1. Calculate and retain the original file digest with a named algorithm such as SHA-256.
  2. Complete the upload through Dowe and preserve the successful transfer reference.
  3. When checking an exported or downloaded copy, calculate the same digest and compare the complete value.

Worth checking

  • Record the algorithm alongside the digest.
  • Distinguish a part checksum, a composite checksum and the full file digest.
  • Keep the original until a completed transfer and any required download check succeed.