Class RetrCommandHandler
Implements the RETR
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("RETR", true, true)]
public class RetrCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceRetrCommandHandler(Nullable<ILogger<RetrCommandHandler>>)
Initializes a new instance of the RetrCommandHandler class.
Declaration
public RetrCommandHandler(ILogger<RetrCommandHandler>? logger = default(ILogger<RetrCommandHandler>? ))
Parameters
Type | Name | Description |
---|---|---|
Nullable<ILogger<RetrCommandHandler>> | logger | The logger. |
Methods
| Improve this Doc View SourceProcess(FtpCommand, CancellationToken)
Declaration
public override Task<IFtpResponse? > Process(FtpCommand command, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FtpCommand | command | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<Nullable<IFtpResponse>> |