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 c = new Client();
c.on('ready', function() {
c.list(function(err, list) {
if (err) throw err;
console.dir(list);
c.end();
});
});
// connect to localhost:21 as anonymous
c.connect();`
It works perfectly locally, but not on Vercel. We never get into the "ready" method.
The environment variables have been checked and everything is fine.
Has anyone ever had this problem?
Thanks
The text was updated successfully, but these errors were encountered:
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();
});
});
// connect to localhost:21 as anonymous
c.connect();`
It works perfectly locally, but not on Vercel. We never get into the "ready" method.
The environment variables have been checked and everything is fine.
Has anyone ever had this problem?
Thanks
The text was updated successfully, but these errors were encountered: