• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of NodeJS File Provider in ASP.NET Core File Manager Control

This sample demonstrates how to utilize the NodeJS file system provider with the File Manager component. It supports all basic file operations such as create, rename, delete, cut, copy, paste, upload, download, and more. The ej2-filemanager-node-filesystem is an npm packages for file system provider which is available in npmjs, refer this link to download package.

DEMO
SOURCE

Check out the project from this link. Open the root folder and run the command npm install to install the necessary packages.

After installing the packages, set the root folder directory of the file system in the package.json file under the scripts section, like this: "start": "node filesystem-server.js -d D:/Files" .

Set the port on which the project will be hosted and the root directory of the file system. For example: set PORT=3000 && node filesystem-server.js -d D:/Files.

Finally, map the ajaxSettings property to the appropriate file operation methods in the filesystem-server.js file. This will allow users to manage the physical file system using the NodeJS file system provider.

Note: File Manager's upload functionality is restricted in online demos for security reasons. To work with upload functionality, please download ej2-filemanager-node-filesystem from the GitHub repository.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab