1.4.0 • Published 5 years ago

@twec/transfer v1.4.0

Weekly downloads
1
License
Private
Repository
gitlab
Last release
5 years ago

TWEC-Transfer

A single module for FTP and SFTP

To install:

npm i twec-transfer

To Test, include the env vars USER and PASSWORD. Required for the local sftp and ftp servers need to unit test.

USER=foo PASSWORD=bar npm test

Options for SFTP and FTP:

var opts = {
  enabled: true || false,
  type = 'sftp' || ftp,
  host: '127.0.0.1,
  port: '4000',
  root: '/tmp',
  username: 'foo',
  password: 'bar'
}