Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

Sign up

FTP server for node.js

License

NotificationsYou must be signed in to change notification settings

mailsvb/jsftpd

Repository files navigation

FTP server for node.js

GitHub Workflow - CICoverage StatusGitHub release (latest by date)Npm package versionDocumentation StatusGitHub licensemade-with-javascript

Install

Either download fromhere 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')constserver=newftpd({cnf:{username:'john',password:'doe',basefolder:'/tmp'}})server.start()

Documentation

The full documentation of the project is availablehere.

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.createServeroptions
  • cnf property object. Takes jsftpd specific configuration items. See full documentationhere
  • hdl property object. Takes handler functions for specific FTP commands. See full documentationhere

[8]ページ先頭

©2009-2025 Movatter.jp