sftp-cli
v2.1.0
Published
SFTP-Client use callback
Downloads
3
Readme
sftp-cli
Callback 版本 sftp-cli,依赖 ssh2-sftp-client
Install
npm install sftp-cli --save
Usage
const SftpCli = require('sftp-cli');
const client = new SftpCli(host, username, password, options);
client.connect(function() {
client.list("/home/vagrant", function(err, result) {
// do
});
});