Class DeleCommandHandler
Implements the DELE
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("DELE", false, true)]
public class DeleCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceDeleCommandHandler(Nullable<ILogger<DeleCommandHandler>>)
Initializes a new instance of the DeleCommandHandler class.
Declaration
public DeleCommandHandler(ILogger<DeleCommandHandler>? logger = default(ILogger<DeleCommandHandler>? ))
Parameters
Type | Name | Description |
---|---|---|
Nullable<ILogger<DeleCommandHandler>> | 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>> |