skip to Main Content

azure function to upload multiple files into blob storage

public static class FileUpload { [FunctionName("FileUpload")] public static async Task<IActionResult> Run( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequest req, ILogger log) { string Connection = Environment.GetEnvironmentVariable("AzureWebJobsStorage"); string containerName = Environment.GetEnvironmentVariable("ContainerName"); Stream myBlob = new MemoryStream(); var file = req.Form.Files["File"]; myBlob =…

VIEW QUESTION
Back To Top
Search