Hello i downloaded this npm module to connect to my ftp : node-ftps
connection class
var FTPS = require('ftps');
var ftps = new FTPS({
host: 'myhost',
username: 'user',
password: 'mypw',
protocol: 'ftp'
});
ftps.exec(function (err, res) {
console.log();
});
how can i check if the connection was successful and how can i get all files from my path!
tryed to add an file but get an error i didn't even know if im connected
via Alex
No comments:
Post a Comment