Closed DavidLozzi closed 6 years ago
Hmm so removing the function from runSequence, appears to work as expected. It does FTP up the file. I wrote out the config for further degbugging
VinylFtp {
config:
{ parallel: 3,
maxConnections: 5,
log: null,
timeOffset: 0,
idleTimeout: 100,
password: 'not4you',
reload: false,
host: 'x.x.x.x',
user: 'me',
pass: 'not4you',
secure: true,
secureOptions: { rejectUnauthorized: false } },
queue: [],
connectionCount: 0,
idle: [],
idleTimer: null }
Fixed it! I had 2 functions making FTP connections, and each one had it's own var conn =..
so I made it global and removed it from the two and it works fine now! Something odd with running these tasks in parallel, but this works now.
I've confirmed FileZilla can connect just fine, with similar settings.
Here's my config:
usage in gulp
The output error: