autoput
A command-line utility to watch files for changes and upload them via SFTP.
Features
- ignore globs
- keepalive
- automatic reconnecting
Installation
npm install autoput -g
Usage
- Run
autoput init
in the directory you want to watch. - Fill out your server info in the newly-generated
sftp.json
config file. - Run
autoput
to start the watch. All subdirectories will also be watched, unless they match an ignored glob specified insftp.json
.
Status
- There are no tests.
- Not sure if it works with public/private keys, I've only tested it with username/password authentication.
- Only SFTP is supported (not FTP).