@passioncloud/sftp-connection

1.0.2 • Public • Published

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

/@passioncloud/sftp-connection/

    Package Sidebar

    Install

    npm i @passioncloud/sftp-connection

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.68 kB

    Total Files

    3

    Last publish

    Collaborators

    • gilberts