Class AppeCommandHandler
Implements the APPE command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("APPE", true, true)]
public class AppeCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceAppeCommandHandler(IBackgroundTransferWorker)
Initializes a new instance of the AppeCommandHandler class.
Declaration
public AppeCommandHandler(IBackgroundTransferWorker backgroundTransferWorker)
Parameters
| Type | Name | Description |
|---|---|---|
| IBackgroundTransferWorker | backgroundTransferWorker | The background transfer worker service. |
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>> |