node-ftp icon indicating copy to clipboard operation
node-ftp copied to clipboard

Issue with Vercel, works perfectly on local

Open smotlythomas opened this issue 2 years ago • 0 comments

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

smotlythomas avatar Jul 24 '23 14:07 smotlythomas