How to upload large size video

I am uploading the video using Syncfusion FILE uploader. While uploading the video size 200MB it shows me an error. My controller type is directoryUpload="true".


The file size is too large.


I am uploading videos in which some of them are large size let's say 200MB and some of them are small size 50MB.


Can you please tell me how to increase file uploading size?


<ejs-uploader id="upVideos" selected="onSelect"

allowedExtensions=".mp4" asyncSettings="@asyncSettingsVideo" directoryUpload="true" success="onSuccess"></ejs-uploader>


As I said in the beginning I am uploading the folder in which I have to upload several videos some of them have a size 200MB, 1Gb, 500MB, or anything so your above code will work in that?


The number of videos in the folder is not fixed.

And I am developing my website using DOT NET CORE MVC C#.


1 Reply

SP Sureshkumar P Syncfusion Team March 21, 2022 01:22 PM UTC

Hi Harshida, 
 
if you are using IIS for hosting your application, then the default upload file size is 4MB. To increase it, please use this below section in your web.config –  
 
<configuration>  
    <system.web>  
        <httpRuntime maxRequestLength="1048576" />  
    </system.web>  
</configuration>  
 
For IIS7 and above, you also need to add the lines below:  
<system.webServer>  
   <security>  
      <requestFiltering>  
         <requestLimits maxAllowedContentLength="1073741824" />  
      </requestFiltering>  
   </security>  
 </system.webServer>  
 
 
I have also attached the solution provided in Stackoverflow related to your query.  
 
Regards, 
Sureshkumar P 
 


Loader.
Up arrow icon