New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

auto-sftp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-sftp

编写 sftp 配置文件,自动上传本地文件到服务器

  • 0.1.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

auto-sftp

编写 sftp 配置文件,自动上传本地文件到服务器

安装

yarn add auto-sftp -D
// 或
npx sftp u

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

配置 sftprc.json

{
  "test": [
    {
      "sftp": {
        "host": "",
        "post": 22,
        "username": "",
        "password": "",
        "privateKey": "",
        "passphrase": ""
      },
      "filesPath": [
        {
          "local": "./example/static",
          "remote": "/remote",
          "mode": "all"
        }
      ]
    }
  ],
  "prod": []
}

mode: all / onlyFile

TODO

-[] 优化上传打印信息,按文件类型区分

FAQs

Package last updated on 13 May 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc