Socket
Book a DemoInstallSign in
Socket

@passioncloud/sftp-connection

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@passioncloud/sftp-connection

This is a module for setting up sftp connections.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

SFTP

FAQs

Package last updated on 03 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts