简体   繁体   English

什么时候可以从 Amazon S3 下载文件?

[英]When is a file available to download from Amazon S3?

I can't find some information about Amazon S3, hope you will help me.我找不到有关 Amazon S3 的一些信息,希望您能帮助我。 When is a file available for user to download, after the POST upload? POST 上传后,用户何时可以下载文件? I mean some small JSON file that doesn't require much processing.我的意思是一些不需要太多处理的小型 JSON 文件。 Is it available to download immediately after uploading?上传后是否可以立即下载? Or maybe amazon s3 works in some sessions and it always takes a few hours?或者,亚马逊 s3 可能在某些会话中工作并且总是需要几个小时?

According to the doc ,根据文档

Amazon S3 provides strong read-after-write consistency for PUTs and DELETEs of objects in your Amazon S3 bucket in all AWS Regions. Amazon S3 在所有 AWS 区域中为您的 Amazon S3 存储桶中的对象的 PUT 和 DELETE 提供强大的写后读一致性。

This means that your objects are available to download immediately after it's uploaded.这意味着您的对象可以在上传后立即下载。

An object that is uploaded to an Amazon S3 bucket is available right away.上传到 Amazon S3 存储桶的 object 立即可用。 There is no time period that you have to wait.没有您必须等待的时间段。 That means if you are writing a client app that uses these objects, you can access them as soon as they are uploaded.这意味着如果您正在编写使用这些对象的客户端应用程序,您可以在它们上传后立即访问它们。

In case anyone is wondering how to programmatically interact with objects located in an Amazon S3 bucket through code, here is an example of uploading and reading objects in an Amazon S3 bucket from a client web app....如果有人想知道如何通过代码以编程方式与位于 Amazon S3 存储桶中的对象进行交互,这里是从客户端 web 应用程序上传和读取 Amazon S3 存储桶中的对象的示例......

Creating an example AWS photo analyzer application using the AWS SDK for Java 使用 AWS SDK 为 Java 创建示例 AWS 照片分析器应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM