Santosh Karanam

Santosh Karanam

  • 469
  • 2.8k
  • 263.9k

How to upload Multiple Files(more than 1000 files) to Web API.

Apr 26 2022 10:43 AM

I have used  "IFormFileCollection" to upload files to web API, but it fails when uploading many files (say 1000s). I can only upload 10 files less than 5Mb to my web API at once. But in the Azure portal Blob, i can upload as many as 50 files(at least > 20 files at once). How this is achieved?. I am planning to write a command line to interrate files and upload from local machine to web API 10 files at a time, but this means that to run my command line the machine should have .net installed. Is there a way to achive this in .net
 


Answers (3)