0.2.32 • Published 9 months ago

ftpper v0.2.32

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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

9 months ago

0.2.31

9 months ago

0.2.30

9 months ago

0.2.29

9 months ago

0.2.28

9 months ago

0.2.26

9 months ago

0.2.25

9 months ago

0.2.24

9 months ago

0.2.23

9 months ago

0.2.22

9 months ago

0.2.21

9 months ago

0.2.20

9 months ago

0.2.18

9 months ago

0.2.17

9 months ago

0.2.16

9 months ago

0.2.15

9 months ago

0.2.14

9 months ago

0.2.13

9 months ago

0.2.12

9 months ago

0.2.11

9 months ago

0.2.10

9 months ago

0.2.9

9 months ago

0.2.8

9 months ago

0.2.7

9 months ago

0.2.6

9 months ago

0.2.5

9 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago