Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Vercel, works perfectly on local #286

Open
smotlythomas opened this issue Jul 24, 2023 · 0 comments
Open

Issue with Vercel, works perfectly on local #286

smotlythomas opened this issue Jul 24, 2023 · 0 comments

Comments

@smotlythomas
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant