You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var FTPS = require('ftps');
var ftpClient = new FTPS({
host: 'localhost',
username: 'test',
password: 'test',
protocol: 'ftp',
requireSSHKey: false,
timeout:10,
retries:5,
additionalLftpCommands: [
'set ftp:ssl-allow false',
'set ssl:verify-certificate no',
'set ftp:ssl-force false',
'set passive-mode yes'
].join(';')
});
ftpClient.put(localPath, remotePath).exec((er,res)=>{});
...............................
Hi, Above is my code its working properly but the issue is its making too many connections and having too many connections in TIME_WAIT state
The text was updated successfully, but these errors were encountered:
var FTPS = require('ftps');

var ftpClient = new FTPS({
host: 'localhost',
username: 'test',
password: 'test',
protocol: 'ftp',
requireSSHKey: false,
timeout:10,
retries:5,
additionalLftpCommands: [
'set ftp:ssl-allow false',
'set ssl:verify-certificate no',
'set ftp:ssl-force false',
'set passive-mode yes'
].join(';')
});
ftpClient.put(localPath, remotePath).exec((er,res)=>{});
...............................
Hi, Above is my code its working properly but the issue is its making too many connections and having too many connections in TIME_WAIT state
The text was updated successfully, but these errors were encountered: