Hi Lester,
Greetings from Syncfusion support.
The default upload size of FileManager component is 30MB. You can change the upload file size by using the uploadSettings property of file manager component. Using this property, you can set the maxFileSize and minFileSize.
Note: Size should be set in bytes.
Please, refer the below KB link.
Please, refer the below code snippet.
<FileManagerComponent
id="overview_file"
ajaxSettings={{
url: this.hostUrl + "api/AmazonS3Provider/AmazonS3FileOperations",
getImageUrl: this.hostUrl + "api/AmazonS3Provider/GetImage",
uploadUrl: this.hostUrl + "api/AmazonS3Provider/AmazonS3Upload",
downloadUrl: this.hostUrl + "api/AmazonS3Provider/Download"
}}
view={"Details"}
uploadSettings={{
maxFileSize: 40000000
}}
>
<Inject services={[NavigationPane, DetailsView, Toolbar]} />
</FileManagerComponent> |
If you want to increase the file size in server side, please refer the following link.
Please, refer the below code snippet.
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" ></requestLimits>
</requestFiltering>
</security> |
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P