Skip to content

Upload and deploy files from SFTP within username & password.

License

Notifications You must be signed in to change notification settings

xuwenchao66/node-sftp-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sftp-deploy2

Fork from node-sftp-deploy, you can use it by prompting the password.

Install

npm i node-sftp-deploy2 -D

Usage

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

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

About

Upload and deploy files from SFTP within username & password.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.5%
  • HTML 15.5%