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

grunt-ftpsync

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-ftpsync

Intelligent file synchronization over FTP using Grunt.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NOTICE: This package is officially deprecated


Intelligent file synchronization over FTP using Grunt.

Wrapping the ftpsync library, updating a full hierarchy of files is as simple as adding a new grunt task.

Getting Started

Install the module with: npm install --save-dev grunt-ftpsync

Usage

To Install

Install the module with: npm install --save-dev grunt-ftpsync

**Note: The --save-dev flag will add grunt-ftpsync to your devDependencies list.

To Configure

// gruntfile.js
module.exports = function(grunt) {

  grunt.initConfig({
    ftpsync: {
      local: 'C:/dir/to/some/stuff',
      remote: '/',
      host: "127.0.0.1",
      port: 9999,
      user: "johndoe",
      pass: "likescake",
      connections: 1,
      ignore: [
        ".htaccess"
      ]
    },
  });

  grunt.loadNpmTasks('grunt-ftpsync');

  grunt.registerTask('default');
};

Settings

  • host - hostname/address of the remote ftp server (required).
  • port - port of the remote ftp server (default 21).
  • user - ftp username (required).
  • pass - ftp password (required).
  • localRoot - the root directory of the local host (default './').
  • remoteRoot - the root path of the remote server (default './').
  • connections - the max number of concurrent ftp connections (default 1).
  • ignore - the list of file patterns to ignore.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style.

Before you contribute your changes be sure to Lint your code using Grunt.

License

Copyright (c) 2013 Evan Plaice
Licensed under the MIT license.

Keywords

FAQs

Package last updated on 23 Jan 2020

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