temp-ftp-server
v1.0.2
Published
Simple Temporary FTP Server.
Downloads
9
Maintainers
Readme
Temporary FTP Server
Install
npm install -D temp-ftp-server
// or
npm i -g temp-ftp-server
Options
| key |default| explanation | |-----------------|----------|----------------------------------------------| | -p, --port | 21 | Port of FTP server. | | -r, --root | ./temp | Target directory of upload files. | | -u, --username | admin | login user name | | -p, --password | admin | login password | | -t, --temporary | true | When close ftp server, delete root directory | | -h, --help | | Open options helper |
Exsample
npx ftpTemp
// When close server, root dir is not deleted.
npx ftpTemp -t false