All Projects → sindresorhus → Gulp Ftp

sindresorhus / Gulp Ftp

Licence: mit
[DEPRECATED] Upload files to an FTP-server

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gulp Ftp

gulp-recess
[DEPRECATED] Lint CSS and LESS with RECESS
Stars: ✭ 42 (-58%)
Mutual labels:  gulp, gulp-plugin, deprecated
gulp-es6-transpiler
[DEPRECATED] Transpile ES2015 to ES5
Stars: ✭ 47 (-53%)
Mutual labels:  gulp, gulp-plugin, deprecated
anyfs
Portable file system for Node
Stars: ✭ 17 (-83%)
Mutual labels:  gulp, gulp-plugin, ftp
Gulp Ngmin
[DEPRECATED] Pre-minify AngularJS apps with ngmin
Stars: ✭ 89 (-11%)
Mutual labels:  gulp, gulp-plugin, deprecated
gulp-convert-encoding
Plugin for gulp to convert files from one encoding to another.
Stars: ✭ 15 (-85%)
Mutual labels:  gulp, gulp-plugin
gulp-yarn
Automatically install node modules using Yarn. 😻
Stars: ✭ 22 (-78%)
Mutual labels:  gulp, gulp-plugin
Vinyl Ftp
Blazing fast vinyl adapter for FTP
Stars: ✭ 385 (+285%)
Mutual labels:  gulp, ftp
Gulp Pug
Gulp plugin for compiling Pug templates
Stars: ✭ 512 (+412%)
Mutual labels:  gulp, gulp-plugin
gulp-tinypng-compress
TinyPNG API wrapper for compressing PNG & JPG images
Stars: ✭ 49 (-51%)
Mutual labels:  gulp, gulp-plugin
Gulp Shell
A handy command line interface for gulp
Stars: ✭ 474 (+374%)
Mutual labels:  gulp, gulp-plugin
Gulp Angular Templatecache
Concatenates and registers AngularJS templates in the $templateCache.
Stars: ✭ 530 (+430%)
Mutual labels:  gulp, gulp-plugin
Gulp Require Tasks
Splits Gulpfile into multiple individual files
Stars: ✭ 51 (-49%)
Mutual labels:  gulp, gulp-plugin
gulp-golang
gulp plugin for golang projects
Stars: ✭ 13 (-87%)
Mutual labels:  gulp, gulp-plugin
gulp-markdown-to-json
Parse Markdown and YAML → compile Markdown to HTML → wrap it all up in JSON
Stars: ✭ 76 (-24%)
Mutual labels:  gulp, gulp-plugin
gulp-iife
A Gulp plugin for wrapping JavaScript code in IIFEs.
Stars: ✭ 39 (-61%)
Mutual labels:  gulp, gulp-plugin
Gulp Ruby Sass
Compile Sass to CSS with Ruby Sass
Stars: ✭ 476 (+376%)
Mutual labels:  gulp-plugin, deprecated
Generator Gulp Plugin Boilerplate
Scaffold out a Gulp plugin boilerplate
Stars: ✭ 46 (-54%)
Mutual labels:  gulp, gulp-plugin
Gulp Json Editor
A gulp plugin to edit JSON objects
Stars: ✭ 55 (-45%)
Mutual labels:  gulp, gulp-plugin
gulp-px2rem
This is a gulp plugin for node-px2rem.
Stars: ✭ 19 (-81%)
Mutual labels:  gulp, gulp-plugin
Gulp Jsonlint
🔍 jsonlint plugin for Gulp
Stars: ✭ 26 (-74%)
Mutual labels:  gulp, gulp-plugin

gulp-ftp Build Status

Deprecated in favor of vinyl-ftp.

Upload files to an FTP-server

Useful for uploading and deploying things.

Install

$ npm install --save-dev gulp-ftp

Usage

var gulp = require('gulp');
var gutil = require('gulp-util');
var ftp = require('gulp-ftp');

gulp.task('default', function () {
	return gulp.src('src/*')
		.pipe(ftp({
			host: 'website.com',
			user: 'johndoe',
			pass: '1234'
		}))
		// you need to have some kind of stream after gulp-ftp to make sure it's flushed
		// this can be a gulp plugin, gulp.dest, or any kind of stream
		// here we use a passthrough stream
		.pipe(gutil.noop());
});

API

ftp(options)

options.host

Required
Type: string

options.port

Type: number
Default: 21

options.user

Type: string
Default: 'anonymous'

options.pass

Type: string
Default: '@anonymous'

options.remotePath

Type: string
Default: '/'

The remote path to upload too.

Nonexistent directories will be created for you.

License

MIT © Sindre Sorhus

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].