c# - how to read metadata of a file which is in amazon s3 -
i read metadata of file amazon s3. there work around achieve it. ex: image in amazon s3, read 'date taken' metadata property of image , return application.
thanks in advance
if need download 'metadata' of s3 object itself, need perform head operation on file in question. return header information, include metadata had been included in object. amazon s3 specific how metadata can put header of object. otherwise default things such file size, server date, owner name, , few other pieces.
if trying dig out metadata information part of object itself, inside image file, out of luck. need download entire file first. not unless can need pre-defined byte range in object, because perform operation , specify byte-range wish download.
aws s3 head documentation can read here: http://docs.aws.amazon.com/amazons3/latest/api/restobjecthead.html
Comments
Post a Comment