Open martijnhoekstra opened 4 years ago
Hi Martijn, I'm facing the exact same issue after upgrading from a very old version. Have you been able to resolve this issue?
Been able to reproduce this on 3.1.1 and 3.1.2-beta.5.
Edit: This not a bug, it's documented here: http://fubardevelopment.github.io/FtpServer/articles/authentication.html
You have to register an IAnonymousPasswordValidator.
services.AddSingleton<IAnonymousPasswordValidator>(new NoValidation());
As per RFC1635, the username should be 'anonymous' with any password. The code above specifies NoValidation for anonymous authentication. I think It would be better if the FubarFtp server uses this configuration as a default.
I'm trying to set up (what I believe to be) a minimal ftp server in a test, and connecting to it like so:
}
The following test throws an exception:
STDOut is
I'm not sure how I should be logging in to the server instead.