ftpd-cli

0.0.7 • Public • Published

Truly simple zero-config 5-sec FTP server in pure JavaScript

Based on this npm module. ftpd-cli is a simple and zero-config ftp server daemon that will help you if your boss wants ftp access right now.

FTP

Install it globally

npm install -g ftpd-cli

Usage

To start ftp daemon with anonymous access:

ftpd-cli --directory path/to/files

To start ftp daemon with login-passwords only:

ftpd-cli --directory path/to/files --user-password login:322

To stop daemon:

ftpd-cli --stop

Available options

ftpd-cli --help
Usage: ftpd-cli [options]
 
Options:
 -V, --version          Prints image-sausage's version
 -H, --help             Print this help
 -D, --directory                Set root directory for ftp
 
Optional arguments:
 -P, --port             Set custom port (default: 21)
 -UP, --user-password           List of users as user1:password1,user2:password2 (If not presented anonymous access is enabled)
 -S, --stop             Signal to stop ftpd-cli daemon
 -DD, -DD               Do not daemonize

Readme

Keywords

Package Sidebar

Install

npm i ftpd-cli

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • andrew.medvedev