Socket
Socket
Sign inDemoInstall

fis3-deploy-ftp-umu

Package Overview
Dependencies
8
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fis3-deploy-ftp-umu

基于fis3-deploy-ftp修改,增加错误重连机制


Version published
Maintainers
1
Install size
510 kB
Created

Readme

Source

fis3-deploy-ftp

将代码通过ftp的方式上传, 由fis-deploy-ftp 修改而来,以支持fis3

特性

支持上传文件列表缓存,首次完整上传后,再次上传将对比文件哈希值,未改动文件自动跳过,节省发布时间。

开启方式:cache:true

###配置

fis.media('upload').match('*', {
    deploy: fis.plugin('ftp', {
        //console: true,
        cache : true,           // 是否开启上传列表缓存,开启后支持跳过未修改文件,默认:true
        remoteDir : '/temp/',   // 远程文件目录,注意!!!设置错误将导致文件被覆盖
        connect : {
            host : '127.0.0.1',
            port : '21',
            user : 'name',
            password : '****'
        }
    })
});

发布

fis release upload

Keywords

FAQs

Last updated on 05 Apr 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc