Example of Directory upload in ASP.NET Core File Manager Control
This sample demonstrates the folder (directory) upload feature. Select Folder
from the Upload
toolbar item to select and upload a folder in the File Manager component.
In this demo, a folder upload is enabled by setting directoryUpload to true
. It allows users to select or drag and drop a folder to upload its contents including hierarchy folders and files in the File Manager component.
The folder (directory) upload is supported for the following file system providers,
- Physical provider
- NodeJS provider
- Azure provider
- Amazon S3 provider
To efficiently upload large files and folders to the server in manageable chunks, use the chunkSize property to specify the desired chunk size.
Note: File Manager's upload functionality is restricted in the online demos for security reasons. If you need to test upload functionality, please install Syncfusion Essential Studio® on your machine and run the demo.