Example of Directory Upload in Blazor File Manager Component
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. File Manager’s upload functionality is restricted in the online demos for security reasons, please run the service provider locally to try out the upload functionality.