0.2.32 • Published 2 years ago

ftpper v0.2.32

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

2 years ago

0.2.31

2 years ago

0.2.30

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago