/node-sftp-deploy

Upload and deploy files from SFTP within username & password.

Primary LanguageJavaScriptMIT LicenseMIT

node-sftp-deploy NPM Version

NPM Downloads dependencies Join the chat at https://gitter.im/weixin/node-sftp-deploy TmT Name License

Upload and deploy files from SFTP within username & password.

Install

npm install --save node-sftp-deploy

Usage

var sftp = require('node-sftp-deploy');
sftp({
    "host": "10.10.10.10",
    "port": "20",
    "user": "user",
    "pass": "pass",
    "remotePath": "",
    "sourcePath": "./"
}, function(){
    //Success Callback
});

//Support Promise
sftp(sftpConfig).then(function(){
    //Success Callback
});

Contributing

This repo is build and maintained by TmT Team. If you get any bugs or feature requests, please open a new Issue or send us Pull Request, Thank you for your contributions.