jsftpd is an FTP server written for node.js. It's feature set is:
- Multi User capable
- Implicit/Explicit TLS
- Active/Passive mode for data transfer
- Hooks for file operations
npm install jsftpd
To get an FTP server running quickly, the below code will get you started by allowing access for a single user.
const { ftpd } = require('jsftpd')
const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'}})
server.start()
---
maxdepth: 1
glob:
---
*