baby-ftpd

0.0.9 • Public • Published

BabyFtpd

This ftpd is simple ftpd which operates on node.js.
Please be created supposing using it for the test use of the system which has a ftp function, and keep in mind that it is unsuitable for employment in production environment.

Install

$ npm install baby-ftpd

Usage

BabyFtpd = require "baby-ftpd"

ftpd = new BabyFtpd
ftpd.addUser "test", "test"
ftpd.fileSystem.setBase "/var/ftp"
ftpd.listen 21, "localhost"

If you want to try error simulation mode, please use

ftpd.fileSystem.setQuotaSize [Max File Size(bytes)]

It will become an error if a larger file than the specified size is uploaded.

Readme

Keywords

none

Package Sidebar

Install

npm i baby-ftpd

Weekly Downloads

3

Version

0.0.9

License

MIT

Last publish

Collaborators

  • bya00417