1.0.2 • Published 4 months ago

@passioncloud/sftp-connection v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

SFTP Connection

This is a module for setting up sftp connections.

The module allows you to call the exported sftp module multiple times without having to handle reconnections and ending connections.

It is therefore a convenience module.

Use it like this:

const sftpConnection = require('../sftp-connection');
const sftp = await sftpConnection(conf.sftp);
await sftp.put(readStream, remotePath);
await sftp.end();

Published using command:

npm publish --access public

1.0.2

4 months ago

1.0.1

2 years ago

1.0.0

2 years ago