gpt4 book ai didi

c# - Azure Blob 存储的文件大小限制?

转载 作者:行者123 更新时间:2023-12-03 04:49:02 25 4
gpt4 key购买 nike

我正在创建一个应用程序 (.NET MVC),用户可以通过浏览器将文件上传到 Azure Blob 存储。将上传的文件为5-10GB。这可能吗?能够上传到 Azure Blob 存储的最大文件大小是多少?

最佳答案

来自 Microsoft 文档:( https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#:~:text=Blobs%20in%20the%20Azure%20storage,maximum%20size%20of%202%20GB .)

About Block Blobs

Block blobs let you upload large blobs efficiently. Block blobs are comprised of blocks, each of which is identified by a block ID. You create or modify a block blob by writing a set of blocks and committing them by their block IDs. Each block can be a different size, up to a maximum of 100 MB (4 MB for requests using REST versions before 2016-05-31), and a block blob can include up to 50,000 blocks. The maximum size of a block blob is therefore slightly more than 4.75 TB (100 MB X 50,000 blocks). For REST versions before 2016-05-31, the maximum size of a block blob is a little more than 195 GB (4 MB X 50,000 blocks). If you are writing a block blob that is no more than 256 MB (64 MB for requests using REST versions before 2016-05-31) in size, you can upload it in its entirety with a single write operation; see Put Blob.

关于c# - Azure Blob 存储的文件大小限制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62195390/

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