gulp-sftp-hdh

1.0.0 • Public • Published

statement:Modification on the basis of gulp-sftp

Upload files via SSH

Useful for uploading and deploying things via sftp. Right now this plugin just uploads everything. Caching and hash comparison are two TODO items.

Install

$ npm install --save-dev gulp-sftp-hdh

Usage

var gulp = require('gulp');
var sftp = require('gulp-sftp');

gulp.task('default', function () {
	return gulp.src('src/*')
		.pipe(sftp({
			host: 'website.com',
			user: 'johndoe',
			password: '1234',
			"port": "60022",
			"parentPath": "zt@Beta_172.xx.xx.xx:22",
			"remotePath": "web/spadmin_static"
		}));
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-sftp-hdh

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • weibing