This sample demonstrates how to utilize the NodeJS file system provider with the File Manager control. 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 package for file system provider which is available in npmjs, refer to this link to download package.
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 NodeJS File Provider from the GitHub repository.