Socket
Book a DemoInstallSign in
Socket

@atom8/sftp-uploader

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom8/sftp-uploader

Plugin for uploading files to a specified server

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

@atom/sftp-uploader

Plugin for uploading files to a specified server

Install

npm i @atom/sftp-uploader --save-dev

Usage

import AtomSftpUploader from '@atom/sftp-uploader';
// If you use CommonJS (i.e NodeJS environment), it should be:
// const AtomSftpUploader = require('@atom/sftp-uploader');

const sftpUploader = new AtomSftpUploader({
  host: 'your host',
  port: 'your port',
  username: 'your username',
  password: 'your password',
  from: 'you need upload file path',
  to: 'you want to destination',
});
sftpUploader.start();

Configuration

The plugin allowed values are as follows:

  • port: 服务器端口。
  • host: 服务器地址。
  • username: 服务器登陆用户名。
  • password: 服务器登陆密码。
  • from: 你需要上传的文件路径或者文件,其中对于文件,可以是文件路径的数组。
  • to: 服务器上的目标路径。

License

MIT © zhiyingzhou

Keywords

ssh2-sftp-client

FAQs

Package last updated on 21 Oct 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.