FtpServer
FtpServer copied to clipboard
ServerCertificate
Hello,
if I set up
.Configure<AuthTlsOptions>(
opt =>
{
opt.ServerCertificate = ServerCertificate;
};
Then
await serverCommandFeature.ServerCommandWriter.WriteAsync(new SendResponseServerCommand(response), cancellationToken).ConfigureAwait(false);
sending to client error doen't works (client receive timeout)

May be I have to set setup another feature?
If ServerCertificate is commented... ftp work's fine.
Is there an error on the server side? IIRC there's nothing you have to configure to enable FTPS.
I changed BUILD definitions to USE_SYNC_SSL_STREAM and manipulation with certificate... helped me.