gpt4 book ai didi

java - GAE如何识别blobstore文件所有者

转载 作者:行者123 更新时间:2023-12-01 13:12:20 27 4
gpt4 key购买 nike

我想在 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com