I setup 'maxFileSize'in filemanager.
I uploaded a file smaller than the size of"maxFileSize", but it says "Request Entity Too Large"
Should I add another setting??
<ejs-filemanager id="file" path="@ViewBag.FilePath" view="Details" allowDragAndDrop="false" height="800" fileOpen="doubleClick" success="loadSuccess">
<e-filemanager-ajaxsettings url="/FileManager/FileOperations?sMenu=Calculation" , downloadUrl="/FileManager/Download?sMenu=Calculation" , uploadUrl="/FileManager/Upload?sMenu=Calculation"></e-filemanager-ajaxsettings>
<e-filemanager-uploadsettings maxFileSize="209715200" autoUpload="false" ></e-filemanager-uploadsettings>
Greetings from Syncfusion support.
We have validated your reported query in the ASP.NET Core FileManager component by preparing the sample. We understand that you are facing issues while uploading a larger file in the FileManager. By default upload size of the FileManager component is 30MB. After enabling the uploadSettings and setting the maxFileSize value as “524288000”, we are unable to reproduce the reported issue. We were able to upload the files larger than 60MB in the Physical File service provider at our end. Check the below screenshot.
Refer to the below code snippet.
<ejs-filemanager id="filemanager" view="@Syncfusion.EJ2.FileManager.ViewType.Details">
<e-filemanager-uploadsettings minFileSize="0" maxFileSize="524288000" autoUpload="false" ></e-filemanager-uploadsettings>
<requestLimits maxAllowedContentLength="1073741824" ></requestLimits>
For your reference, we have attached the sample and Physical File Service Provider.
Also, if you want to increase the file size on the server side, please refer to the following link.
Please check the shared details. If the issue persists, please revert with an issue-replicated sample along with an error stack trace. Have you done any customizations for the Upload file operation at the server end? These details would help us with further validation and provide a prompt resolution. Let us know if you need any further assistance.