Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1 KB

README.md

File metadata and controls

42 lines (31 loc) · 1 KB

FTP Uploader

Simple FTP uploader for node.js.

npm version

Install

This package is meant to be installed globally.

npm install ftpup --global

CLI

Usage
  $ ftpup [OPTION]... [SRC] [USERNAME[:PASSWORD]@]HOST[:DEST]

Options
  -u, --username=USERNAME  username
  -p, --password=PASSWORD  password
      --secure             explicit ftps over tls
      --allow-unauthorized allow invalid certificates
      --exclude=PATTERN    exclude pattern
      --purge=PATH         purge directory
      --scope=SCOPE        scope name
      --fresh              ignore server state, perform fresh upload
      --test               perform a trial run with no changes made
  -v, --version            show version number
  -h, --help               show this help

Example
  $ ftpup [email protected]
  $ ftpup public [email protected]/subfolder
  $ ftpup projectfolder --exclude node_modules [email protected] -p topsecret

License

MIT