简体   繁体   中英

Angular Upload Folder to Azure Blob Storage

In our application we let the user select a folder, and then we upload all the files in this folder to our server (Azure App Service) as a multipart formData.

We work now on optimizing this process, and upload the files to Azure Storage instead.

In Azure blob storage SDK for JS we can find methods to upload a single file. Is there a way to upload multiple files to specific folder in an Azure Blob Container, in one request?

As i know, There is no direct way to do this. You can go through the azure storage SDK for details.

But its achievable, you need to send all the files at once and then you should loop over them in your backend.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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