node-ftp
node-ftp copied to clipboard
An FTP client module for node.js
I try this with two differents FTP server : `var Client = require('ftp'); var c = new Client(); c.on('ready', function() { c.list(function(err, list) { if (err) throw err; console.dir(list); c.end();...
I wrote a small maintenance script with the following code: ``` function deleteArtifact(path, cb) { const ftp = new FtpClient(); ftp.on('ready', function() { ftp.rmdir(path, true, (err) => { cb(err); ftp.end();...
Hi, I am currently trying to use this package to upload an array of files to an ftp server. Currently since the methods only support callbacks, this is impossible if...
I am trying to connect to GoDaddy auctions FTP server, but I am not able to connect due to it not having a password. It looks like this.options in connect...
I can only connect once to the FTP in PASV, the connection is keep alive and I can get many files, if I end/destroy and connect again, once I try...
Here are the codes: ``` const Client = require('ftp'); let c = new Client(); c.on('ready', function () { c.list(function (err, list) { if (err) throw err; console.log(list); }); }); c.connect({...
Why this error? after some downloaded files i got following error from terminal : `let c = new FTPClient(); const remoteDirectory = '/xxx/xxxx/'; const localDirectory = '/var/www/api/xxx/xxx/'; let contrats =...
I have a timer that runs every 100ms. It goes through a list of known remote file paths on the FTP server and attempts to download them to the local...
Hello, I've a user that is allowed to specific directory in FTP server. While connecting to ftp server using host, port, username and password, I get the error below: `User...
I am using FTP Connection and download all files from folder. I have written this script , its downloading few files but after few min getting this error. Below my...