[Rails] Verify file is uploaded correctly in s3
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: https://github.com/aws/aws-sdk-ruby/issues/196
Thanks,
Anand Soni
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL9wd7c2jHwe%2BawLaQwwUDaANoc-GKpEeJphf%2BmC9%3DfxKT4iag%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home