0.2.32 • Published 10 months ago

ftpper v0.2.32

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Description

node-ftpper is a wrapper for the popular nodejs FTP client module node-ftp and node-ftp-client. It tried to provide a more simple way to use FTP in nodejs

Requirements

Dependencies

node-ftp node-ftp-client

Installation

npm install ftpper

Usage

Initialization

To crate an instance of the wrapper use the following code:

var ftpper = require('ftpper');
var ftps = ftpper(configs);

where configs is an array of the ftp server configuration:

[{
  host:host1,
  user:username,
  password:password
 },
 {
  host:host2
  user:username
  password:password
 }
]);

Examples

ftps.upload(['test/**'], '/remote_site/test/', results=>{
	console.log("ftp uploaded");
});
ftps.chmod('755', '/remote_site/test/test_file');
0.2.32

10 months ago

0.2.31

10 months ago

0.2.30

10 months ago

0.2.29

10 months ago

0.2.28

10 months ago

0.2.26

10 months ago

0.2.25

10 months ago

0.2.24

10 months ago

0.2.23

10 months ago

0.2.22

10 months ago

0.2.21

10 months ago

0.2.20

10 months ago

0.2.18

10 months ago

0.2.17

10 months ago

0.2.16

10 months ago

0.2.15

10 months ago

0.2.14

10 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

10 months ago

0.2.10

10 months ago

0.2.9

10 months ago

0.2.8

10 months ago

0.2.7

10 months ago

0.2.6

10 months ago

0.2.5

10 months ago

0.2.4

10 months ago

0.2.3

10 months ago

0.2.2

10 months ago

0.2.1

10 months ago

0.2.0

10 months ago