FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
473 stars 161 forks source link

Does FubarDev allow non-anonymous authentication? #69

Closed CalebOwusuMI closed 5 years ago

CalebOwusuMI commented 5 years ago

Hi!

Thanks for providing this library; it's really useful.

We'd like to mock an SFTP server using non-anonymous authentication. Is that possible with (the latest release of) FubarDev/FtpServer?

Best regards,

Caleb

fubar-coder commented 5 years ago

I'm not entirely sure what you mean.

If you implement your own IAuthenticationMechanism, then you also have to call all IAuthorizationAction implementations.

BTW: This library only supports FTPS (FTP over SSL), not SFTP (SSH with FTP-like access).

PS: The first and third options are only available in the latest 3.0 RC version of the library.

EDIT: Third option added.

CalebOwusuMI commented 5 years ago

Thanks for the quick reply!

Ah, I should have clarified. This page states that only anonymous authentication is supported, but we'd like to mock an SFTP server.

You've answered my question, though; I wasn't aware that this library doesn't support SFTP.

Thanks again.