Questions tagged [vinyl-ftp]
19 questions
5
votes
1 answer
Gulp Vinyl FTP using Gulp newer is not noticing changes in files and is therefore not deploying UPDATE: TIME ZONE ISSUE
RESOLVED:
I built a gulp plugin to solve the problem...
https://www.npmjs.com/package/gulp-mtime-correction
The issue I'm having is that my gulp task using Vinyl-FTP and Gulp-Newer doesn't seem to be noticing changes in my files and therefore is…

Matt Wills
- 676
- 6
- 11
4
votes
2 answers
Gulp vinyl ftp - how to use clean function?
The vinyl-ftp package has a function clean() but I'm not sure how to use it right. I need to:
get all files from my build folder
put them into the target folder on my ftp server
clean files if they're not available locally
I have the following…

Max Vorozhcov
- 593
- 1
- 6
- 22
2
votes
1 answer
Gulp Vinyl-FTP timing out
I am learning Gulp and want to try to put my .css files on a remote server. I have installed Vinyl FTP for this. My Gulp file is as such:
Whenever I run the ftp command I get a message ERROR Error: Timeout while connecting to server.
My gulpfile.js…

MeltingDog
- 14,310
- 43
- 165
- 295
2
votes
1 answer
Error: write EPIPE when trying to upload file to FTP using gulp
I've got a task to deploy some stylesheets out to a server using FTP and about 80% of the time I get this error,
Error: write EPIPE
at _errnoException (util.js:1022:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:880:14)
I'm using vinyl-ftp…

Matthew Beaudin
- 182
- 11
1
vote
1 answer
Vinyl-FTP encountering `getaddrinfo ENOTFOUND` error. FileZilla works fine. Anyone know a fix?
I am trying to use Gulp to FTP files from my local to a remote shared server site, however, I get the error:
Error: getaddrinfo ENOTFOUND ftps.mysite.com ftps.mysite.com:21
at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup…

MeltingDog
- 14,310
- 43
- 165
- 295
1
vote
1 answer
gulp 4 vinyl-ftp Unable to make data connection
I'm facing problem with uploading files, randomly it stops with different kind of errors: Unable to make data connection at Socket. (/aaa/node_modules/ftp/lib/connection.js:935:10) or Error: Client aborted. Sometimes it works when launched e.g. 10…

miojamo
- 723
- 2
- 14
- 31
1
vote
0 answers
Webpack in php projects: how to automate ftp upload
I'm using webpack for WordPress theme development. It works like a charm including BrowserSync for reloading the browser. BrowserSync watches all files including php files, so that works great.
In the next step I'd like to automate ftp upload. I've…

Marcus Kober
- 106
- 9
1
vote
1 answer
vinyl-ftp hide credentials issue
I decided to use vinyl-ftp for my deployment process in gulp. One thing I would like to do is to have a separate file with my ftp credentials:
host
user
password
and put that file in my .gitignore. And then I want those credentials in that file…

user2371684
- 1,475
- 5
- 20
- 45
1
vote
0 answers
vinyl-ftp: No such file or directory when using conn.clean()
I am using vinyl-ftp to deploy an Angular App to my FTP Server.
I use the following gulp task:
gulp.task('deploy:dev', function () {
const connection = ftp.create({
host: 'host.com',
user: 'user',
password: 'pw',
log: gutil.log,
…

Enzo Volkmann
- 369
- 6
- 14
1
vote
1 answer
Vinyl FTP for Gulp configuration
I'm using Gulp to generate CSS from LESS-CSS on file save. I want the css file to be uploaded to the server immediately, so I'm experimenting with Vinyl-FTP. I'm a newbie at NPM/NodeJS/Gulp/JavaScript, so I need some help.
In my gulpfile.js I have…

Thomsterdam Web Design
- 69
- 12
1
vote
1 answer
Vinyl-ftp strange error
I am using Vinyl-ftp to do deployment, when i try to connect with FileZilla or Total Commander everything works ok, but when i try wirh Gulp task i got strange error, i dont see the difference, here is my Gulp task and error…

Miomir Dancevic
- 6,726
- 15
- 74
- 142
1
vote
1 answer
Error in gulp with vinyl-ftp: Sorry, cleartext sessions are not accepted on this server
I am facing a problem when uploading and updating files on an FTP server using vinyl-ftp in gulp.
My gulpfile.js code is:
var gutil = require('gulp-util');
var ftp = require('vinyl-ftp');
gulp.task( 'deploy-dev', function () {
var conn =…

Amitabha Ghosh
- 73
- 1
- 2
- 12
0
votes
0 answers
Gulp vinyl-ftp remote download not working
I'm trying to download the remote test folder to my local project with vinyl-ftp
gulp.task('ftp', () => {
var conn = ftp.create({
host: host,
user: username,
password: password,
parallel: 10,
log: gutil.log,
});
conn
…

Dylan Weijgertze
- 47
- 1
- 6
0
votes
1 answer
Vinyl FTP upload specific directory
I'm trying to get Gulp Vinyl FTP to upload a specific Wordpress theme directory, here is the deploy command.
gulp.task('deploy', function() {
console.log('uploading to server');
var conn = ftp.create({
host: '',
user: '',
…

Jordash
- 2,926
- 8
- 38
- 77
0
votes
1 answer
Why do I have to save the LESS source file twice before Gulp/Vinyl-ftp uploads the bootstrap.min.css?
I've got a gulpfile.js with the content below. I want it to produce the bootstrap.min.css and upload it to the server as soon as I save the LESS file in the /less folder. The problem is: only after saving the file twice, will the end result be…

Thomsterdam Web Design
- 69
- 12