Tag: azure

Ruby Azure Blob存储:“RequestBodyTooLarge”

如果我尝试使用演示代码将大文件(在这种情况下为388.7 MB)上传到azure blob存储,则会失败: begin content = File.open(“big_file.dat”, “rb”) { |file| file.read } blob = azure_blob_service.create_block_blob(container.name,”image-blob”, content) puts blob.name rescue StandardError => e $stderr.puts e.message end # RequestBodyTooLarge (413): The request body is too large and exceeds the maximum permissible limit. 我在blob存储文档中读到blob的大小可达200​​ GB,因此看起来Ruby API没有正确地对其文件上传进行分块。 我错过了什么吗?