Skip to content

lemmon/ftpup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 user@example.com
  $ ftpup public user@example.com/subfolder
  $ ftpup projectfolder --exclude node_modules user@example.com -p topsecret

License

MIT