python - How can I make folder in AWS S3 bucket with django-storages? -


i tried following:

f = default_storage.open('test/', 'w') f.write('') f.close() 

but returned error:

the xml provided not well-formed or did not validate against our published schema

there no such thing folder in s3. if save file path 'fake' directory structure.

https://stackoverflow.com/a/2141499/682968

add folder in amazon s3 bucket


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -