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'
}