Hi I am using amazon sdk to upload file. Now I want to check that file
is
uploaded correctly and not corrupted. I have tried etag and compared
with
checksum created locally. It works as well but some how I have found
that
sometime etag in not representing correctly. So there is another method
by
passing metadata while writing object. I have found that method but
don’t
know how would I know that it correctly uploaded. How to check what
response s3 has set so that I can know its uploaded successfully.
I have read this issue: file integrity verification? · Issue #196 · aws/aws-sdk-ruby · GitHub
http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/S3/S3Object.html#write-instance_method
Thanks,
Anand Soni