我想在 GAE 中的 BlobStore 上创建一个包含多个文件的目录(文件夹)。 GAE支持吗?谢谢
最佳答案
如果您想这样做,您可能想看看 GCS:
GCS and "subdirectories"
Google Cloud Storage documentation refers to "subdirectories" and the GCS client library allows you to supply subdirectory delimiters when you create an object. However, GCS does not actually store the objects into any real subdirectory. Instead, the subdirectories are simply part of the object filename. For example, if I have a bucket my_bucket and store the file somewhere/over/the/rainbow.mp3, the file rainbow.mp3 is not really stored in the subdirectory somewhere/over/the/. It is actually a file named somewhere/over/the/rainbow.mp3.
https://developers.google.com/appengine/docs/java/googlecloudstorageclient/
因此,每个所有者一个“目录”将是最简单的方法。
关于java - GAE如何识别blobstore文件所有者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22750329/