morris / vinyl-ftp

Blazing fast vinyl adapter for FTP
Other
388 stars 31 forks source link

Can not seem to get it work #71

Open cryoguy opened 8 years ago

cryoguy commented 8 years ago

All I get it gulp logs. [18:03:26] Starting 'deploy'... [18:03:26] Finished 'deploy' after 17 ms My settings: gulp.task('deploy', function () { var conn = ftp.create({ host: 'xxx', user: 'xxx', password: 'xxx', parallel: 10, secure:true, port:22, log: gutil.log } );

var globs = [
    'images/**',
    'styles/**',
    'scripts/**',
    'fonts/**',
    '*.html'
];
// using base = '.' will transfer everything to /public_html correctly 
// turn off buffering in gulp.src for best performance 

return gulp.src(globs,{base: '.', buffer: false } )
    .pipe(conn.newer('/memoryimprintstudio.com/wudental'))
    .pipe(conn.dest('/memoryimprintstudio.com/wudental'));

});

pyrsmk commented 8 years ago

Did you try to comment conn.newer('/memoryimprintstudio.com/wudental')? Anyway, it really seems to be a globs issue with gulp.src().

yerlanyr commented 7 years ago

Removing { base: '.' } could work for you.