Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Verifying Amazon S3 multi-part uploads with the ETag hash

Uploading big files to Amazon S3 can be a bit of pain when you're on an unstable network connection. If an error occurs, your transfer will be cancelled and you can start the upload process all over again. This not only wastes your bandwidth, it also increases your AWS bill.

To check the integrity of a file that was uploaded in multiple parts, you can calculate the Checksum of the local file and compare it with the checksum on S3. Problem is: Amazon doesn't use a regular md5 hash for multipart uploads. In this post we'll take a look at how you can compute the correct checksum on your computer so you can compare it to the checksum calculated by Amazon.



This post first appeared on Savjee.be, please read the originial post: here

Share the post

Verifying Amazon S3 multi-part uploads with the ETag hash

×

Subscribe to Savjee.be

Get updates delivered right to your inbox!

Thank you for your subscription

×