vinyl-ftp
vinyl-ftp copied to clipboard
Connection do nothing
I have two projects with the same task:
var conn = ftp.create({
host: myHost,
user: myUser,
password: myPass,
parallel: 10,
log: gutil.log,
secure: false,
debug: true
});
var globs = [
'assets/**',
'css/**',
'lib/**',
'js/**',
'*.html'
];
return merge([
gulp.src( globs, { base: 'out', buffer: false, cwd: config.path.out } )
.pipe(conn.newerOrDifferentSize(env.current.base)),
gulp.src( ["vendors/**"], { base: 'out/js/', buffer: false, cwd: config.path.out } )
.pipe(conn.dest(env.current.vendors))
]);
In one project, I can execute this code fine. Without problems. But with an other project, do nothing.
[10:51:34] Starting 'deploy'...
[10:51:34] Finished 'deploy' after 18 ms
The code and the variables are cloned from one project to other. Any idea from the issue?
Try replacing base: 'out'
with base: './out'
Not works, sorry :/