Open phileastv opened 3 years ago
I've tried with another FTP server and have a similar error message with the same error log : Error: Please login with USER and PASS.
Seems like it is a message from the FTP server itself, because the user and pass are not passed correctly.
I'm using node-ftp through another module so I will try to continue investigate that.
I was having this error whilst using the module @phileastv was talking about, nexrender. It turns out the problem was that the implementation used in that module was not waiting for the on("ready") event to start doing operations on the server. I am planning on trying to add this to the nexrender implementation, in the mean time. As for OP, you can try making sure you are executing your code inside the .on("ready") callback function.
hey guys, can confirm the issue was on the nexrender side. I believe this thread can be safely closed. thanks, @klonspace for finding out the reason! 👍
Hello !
I'm trying to transfer a file to a FTP server. I double checked all my creditentials, but I keep getting this error
Error: You aren't logged in
. My server have a self-signed TLS certificate, but I correctly passed the parameterrejectUnauthorized: false
in mysecureOptions
. I also tried to passsecure: true, false and mixed
, but nothing changed. My FTP server is working as expected with other clients.This error is not very clear for me, it seems like it is due to line 113, but I can't figure what it does.
Thanks a lot for your patience.