Class StatCommandHandler
The STAT
command handler.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("STAT", false, true)]
public class StatCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceStatCommandHandler(IFtpServer, IBackgroundTransferWorker)
Initializes a new instance of the StatCommandHandler class.
Declaration
public StatCommandHandler(IFtpServer server, IBackgroundTransferWorker backgroundTransferWorker)
Parameters
Type | Name | Description |
---|---|---|
IFtpServer | server | The FTP server. |
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>> |