Joel February 2016

Prevent duplicate storage on S3

How does one prevent storing a duplicate value on S3 based on the MD5 hash? It seems the only way is to run the hash before trying to store the file, but is there a way to ask S3 to not store the file if its the same as the last version of the file. I don't even want S3 to record a new version.

Answers


Harry March 2016

Name the file with the hash. This way when you try to upload a duplicate you can check to see if the duplicate exists first before uploading.

Post Status

Asked in February 2016
Viewed 2,699 times
Voted 10
Answered 1 times

Search




Leave an answer