Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
grunt-ftpsync
Advanced tools
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.
Install the module with: npm install --save-dev grunt-ftpsync
Install the module with: npm install --save-dev grunt-ftpsync
**Note: The --save-dev flag will add grunt-ftpsync to your devDependencies list.
// 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');
};
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.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.
Copyright (c) 2013 Evan Plaice
Licensed under the MIT license.
FAQs
Intelligent file synchronization over FTP using Grunt.
We found that grunt-ftpsync demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.