This is wraps ftp to provide a streaming interface for downloading files via FTP.
npm install ftp-stream --saveftpStream([ftpConnectOptions], files)
Type: Object
The connect options passed to ftp.connect().
Type: array of String
An array of files to download.
var fs = require('vinyl-fs');
var ftpStream = require('ftp-stream');
ftpStream(['README.txt'])
.pipe(fs.dest('./output'));var fs = require('vinyl-fs');
var ftpStream = require('ftp-stream');
var connectionInfo = {
host: 'ftp.secret.info',
user: 'walter',
port: 1234
};
ftpStream(connectionInfo,['secret.txt'])
.pipe(fs.dest('./output'));Travis has been configured to publish upon tagged commits; run the following for npm to update the version and push the appropriate commits to trigger a deploy from Travis.
npm versionCopyright (c) 2015, Phillip Green II. Licensed under the MIT license.