Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lyftp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lyftp

lyftp is ftp package, you can upload an entire folder or a file

  • 0.0.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by7.14%
Maintainers
1
Weekly downloads
 
Created
Source

lyftp

ftp文件上传

使用

{
    "host": "127.0.0.1",
    "port": 8009,
    "user": "xxx",
    "password": "password",
    "remotePath": "webApp/ftptest/",
    "upload": {
        "default": ["not/"],
        "chat": ["wptFtp/not/test/a.txt", "wptFtp/not/test2/"],
        "lys": ["lys/bin"]
    }
}

在工程文件夹内添加一个.ftprc的json配置文件,配置如上,说明如下

key说明
host服务器地址
port端口
user用户名
password密码
remotePath服务器文件夹
upload上传文件配置,如上lyftp chat 会上传指定的两个文件/文件夹

上传

命令行上传

lyftp chat

命令行指定文件/文件夹

lyftp --files wptFtp/not/test/a.txt wptFtp/not/test2/

Keywords

FAQs

Package last updated on 25 Nov 2016

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