Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mailsvb/jsftpd

Open more actions menu

Repository files navigation

jsftpd

FTP server for node.js

GitHub Workflow - CI Coverage Status GitHub release (latest by date) Npm package version Documentation Status GitHub license made-with-javascript

Install

Either download from here or install via npm.

$ npm install jsftpd

Quick start

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()

Documentation

The full documentation of the project is available here.

The ftpd instance takes an object with two properties that allows for configuring the new instance.

  • tls property object. Takes any configuration option as per node.js tls.createServer options
  • cnf property object. Takes jsftpd specific configuration items. See full documentation here
  • hdl property object. Takes handler functions for specific FTP commands. See full documentation here
Morty Proxy This is a proxified and sanitized view of the page, visit original site.