Hi ArcBlue,
Greetings from Syncfusion support.
We have checked your requirement with FileManager component. By default, FileManager support only the single root folder for accessing the files/folder.
To achieve your requirement, you need to set the root folder for FileManager component in your controller side.
Please, refer to the below code snippet.
|
public class HomeController : Controller
{
public PhysicalFileProvider operation;
public string basePath;
string root = "D:\\FileManager";
public HomeController(IHostingEnvironment hostingEnvironment)
{
this.basePath = hostingEnvironment.ContentRootPath;
this.operation = new PhysicalFileProvider();
this.operation.RootFolder(this.root);
}
} |
Please, refer to the below link for FileManager component.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P