amazon web services - AWS sdk file renaming android -
can rename file or folder in aws(amazon web services) sdk android??
i have implemented many features upload,edit,delete,share file/folder,but not getting docs renaming file or folder.
any link or doc helpful.
amazon s3 cloud-based object storage system. highly scalable , resilient, , processes on 1.5 million transactions per second worldwide. in exchange operating @ such scale, there attributes of amazon s3 make different standard file system, such as:
- it flat storage space , does not support directories
- it provides directory-like structures known common prefixes, act directories (for example, possible list objects common prefix, same listing files in directory)
- the key of object (analogous filename) contains full path of object
for example, object foo.jpg
stored in directory cheese
has key of: cheese/foo.jpg
this means that:
- objects cannot renamed. instead, objects can copied new key , original deleted.
- directories cannot renamed because don't exist. renaming directory involve renaming objects "within" directory. there no limit on number of objects stored in s3, potentially involve renaming millions of objects.
therefore, there no commands rename file ("object") or folder ("common prefix"). use copyobject
, deleteobject
functions instead.
Comments
Post a Comment