gpt4 book ai didi

amazon-web-services - AWS S3 CLI 分段上传

转载 作者:行者123 更新时间:2023-12-04 08:10:19 24 4
gpt4 key购买 nike

当尝试使用 aws-cli 将文件上传到 AWS S3 存储桶时,它是否会自动对更大的文件使用分段上传?因为它输出的只是
Completed 3.0 GiB/9.4 GiB (18.4 MiB/s) with 1 file(s) remaining
这并没有让我变得更聪明。

我检查了其他几个信息来源和这个 this page告诉我它会自动进行,而亚马逊帮助告诉我则不然。

最佳答案

他们确实在 AWS 文档中提到 CLI 命令会自动为大对象执行分段上传。

摘录from documentation :

All high-level commands that involve uploading objects into an Amazon S3 bucket (aws s3 cp, aws s3 mv, and aws s3 sync) automatically perform a multipart upload when the object is large.

Failed uploads cannot be resumed when using these commands. If the multipart upload fails due to a timeout or is manually cancelled by pressing CTRL+C, the AWS CLI cleans up any files created and aborts the upload. This process can take several minutes.

If the process is interrupted by a kill command or system failure, the in-progress multipart upload remains in Amazon S3 and must be cleaned up manually in the AWS Management Console or with the s3api abort-multipart-upload command.

关于amazon-web-services - AWS S3 CLI 分段上传,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45477660/

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