“开发人员对 App Engine 上的文件系统具有只读访问权限”是否正确?
根据这篇关于 Google App Engine 的维基百科文章:
开发人员具有只读访问权限 App Engine 上的文件系统。
我听说过 App Engine 应用程序允许上传,而且 Google 还出售额外的存储空间 - 如果是这样,这个说法难道不会显得不正确吗?
According to this Wikipedia article on Google App Engine:
Developers have read-only access to
the filesystem on App Engine.
I have heard of App Engine apps that allow uploads and Google also sells additional storage - if so, wouldn't this statement appear to be incorrect?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不会。
这些应用程序可能会将上传的数据直接存储到存储中,而不是文件系统中。
附加存储不一定位于文件系统中,而是位于存储本身中。
从这个 Google App Engine 页面:
No.
Those apps would likely store the uploaded data into the store directly rather than the filesystem.
The additional storage is not necessarily in the filesystem but in the storage itself.
From this Google App Engine page:
您的应用程序无法写入文件系统。允许上传的应用程序将上传的文档/数据存储在数据库中。
Your app cannot write to the file system. Apps that allow uploads store the uploaded documents/data in the database.
查看 Blob 属性,例如本教程中用于存储图像的属性:
http://code .google.com/appengine/articles/images.html
还有一些库可将大文件分割成多个部分,以 Blob 的形式存储,然后将它们重新组合在一起。
Check out the Blob property, such as in this tutorial for storing images:
http://code.google.com/appengine/articles/images.html
There are also libraries for splitting a large file into pieces for storage as Blobs and put them back together again.