@twec/transfer
File Transfer Wrapper for (S)FTP
Last updated 10 months ago by drudge .
Private · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @twec/transfer 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.4.0                                ...           latest (10 months ago)

1 Versions

  • 1.4.0                                ...           10 months ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |