Socket
Socket
Sign inDemoInstall

jsftpd

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsftpd

FTP server in pure javascript


Version published
Weekly downloads
19
decreased by-5%
Maintainers
1
Weekly downloads
 
Created
Source

jsftpd

FTP server for nodejs in javascript

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

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'})

server.on('log', console.log)
server.on('error', console.error)

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, like users authorized to login. See full documentation here

Keywords

FAQs

Package last updated on 02 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc