gulp-deploy-ftp
v1.0.1
Published
gulp plugin: deploy via ftp
Downloads
48
Readme
gulp-deploy-ftp
Upload file through ftp
Install
npm install --save-dev gulp-deploy-ftp
Usage
const gulp = require('gulp');
const gulpDeployFtp = require('gulp-deploy-ftp');
gulp.src('path/to/file')
.pipe(gulpDeployFtp({
remotePath: '/tmp',
host: 'localhost',
port: 21,
user: 'foo',
pass: 'bar'
})
.pipe(gulp.dest('dest'));