On 10 March 2017 at 16:43:48, Mehdi Yazid ([email protected]) wrote:
Hello, 

I need to add a metadata to a folder into the S3 bucket. I know how to add 
metadata in object, but it's possible to add metadata to a folder ?
S3 doesn't actually have folders. it is just a object store, but with the 
convention that / in the keys are presented as directories (and if you're using 
the apis direction you don't even have to use / as your delimiter)

When you do create folder in the console you're just creating an empty object. 
If you create an object with the key  a-folder/ (the / at the end is critical) 
then that shows up in the ui as a folder named "a-folder"

You can set metadata on that object as with any other object in S3

Fred

-- 
You received this message because you are subscribed to the Google Groups 
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to