Skip to content

Pass an 'FtpServerListenerService' in via the constructor #114

@robeving

Description

@robeving

The creation of the FtpServerListenerService object in the FtpServer constructor is great for people who don't mind this library managing Tcp connections but not for people like me who already have a framework in place to manage and monitor these. Consider allowing a 'IPausableFtpService' interface or similar to be passed in via a constructor overload. That way I can manage the TcpClient object differently.

_serverListener = new FtpServerListenerService(tcpClientChannel, serverOptions, _serverShutdown, logger);

Metadata

Metadata

Assignees

Labels

featureEverybody likes these

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions