This package has been deprecated

Author message:

I am no longer maintaining this package and there are lost of better alternatives to this such as gulp-scp2 and gulp-rsync. I'm sorry for any inconvenience.

gulp-scp

0.0.3 • Public • Published

Transfer files in gulp via scp. Currently i have only tested it with an ssh connection via key authentication.

Install

$ npm install --save-dev gulp-scp

Usage

var gulp = require('gulp');
var scp = require('gulp-scp');
 
gulp.task('default', function () {
    gulp.src('src/*')
        .pipe(scp({
            host: '255.255.255.255',
            user: 'username',
            port: 22,
            path: '~/dir'
        }));
});

API

scp(options)

options.host

Required Type: String

options.port

Type: Number Default: 22

options.user

Type: String Default: ''

options.path

Required Type: String

The path to transfer to has to exist.

License

MIT © René Bischoff

Package Sidebar

Install

npm i gulp-scp

Weekly Downloads

23

Version

0.0.3

License

MIT

Last publish

Collaborators

  • fjandin