Im using cloudstorage module for uploading files to google cloud storage since am using python 2.x. And I need to create a subdirectory in my bucket and list all the contents in webpage.
You don't create directories in Google Cloud Storage (GCS).
GCS is a flat namespace.
GCS buckets contain objects and object names may include "/".
See here for more details.
gsutil
and the Console browser make it appear as if buckets contain directories.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.