Example of Directory upload in ASP.NET MVC 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 opens in a new tab 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,
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® opens in a new tabon your machine and run the demo.