[英]How to upload multiple files to Azure Storage using Javascript
I am using this javascript code from gaurav mantri to upload files to the Azure Blob Storage.我正在使用gaurav mantri 中的这个 javascript 代码将文件上传到 Azure Blob 存储。
I'd like to somehow extend that code to be able to upload multiple files at once.我想以某种方式扩展该代码以便能够一次上传多个文件。 I don't have much experience in javascript... What needs to be done to achieve that?
我在 javascript 方面没有太多经验......需要做些什么来实现这一目标?
In the sample that in your issue, it is based on Put Block List API.在您的问题中的示例中,它基于Put Block List API。 There is no such RESTful API or function in SDK to directly upload multiple independent blobs to Azure at once time.
SDK 中没有这样的 RESTful API 或函数可以一次直接将多个独立的 blob 上传到 Azure。
You can implement this functionality for yourself by uploading files in loop .您可以通过循环上传文件为自己实现此功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.