npm

@twec/transfer

1.4.0 • Public • Published

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

Package Sidebar

Install

npm i @twec/transfer

Weekly Downloads

0

Version

1.4.0

License

Private

Unpacked Size

30.3 kB

Total Files

10

Last publish

Collaborators

  • fye-engineering
  • vlaadbrain
  • strumwolf
  • couto
  • drudge
  • ramitos