0.2.32 • Published 1 year ago

ftpper v0.2.32

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

1 year ago

0.2.31

1 year ago

0.2.30

1 year ago

0.2.29

1 year ago

0.2.28

1 year ago

0.2.26

1 year ago

0.2.25

1 year ago

0.2.24

1 year ago

0.2.23

1 year ago

0.2.22

1 year ago

0.2.21

1 year ago

0.2.20

1 year ago

0.2.18

1 year ago

0.2.17

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago