Class SiteBlstCommandExtension
The implementation of the SITE BLST
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandExtensions
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandlerExtension("BLST", "SITE", true)]
[FtpFeatureText("SITE BLST")]
public class SiteBlstCommandExtension : FtpCommandHandlerExtension, IFtpCommandHandlerExtension, IFtpCommandBase
Constructors
| Improve this Doc View SourceSiteBlstCommandExtension(IBackgroundTransferWorker, Nullable<ILogger<SiteBlstCommandExtension>>)
Initializes a new instance of the SiteBlstCommandExtension class.
Declaration
public SiteBlstCommandExtension(IBackgroundTransferWorker backgroundTransferWorker, ILogger<SiteBlstCommandExtension>? logger = default(ILogger<SiteBlstCommandExtension>? ))
Parameters
Type | Name | Description |
---|---|---|
IBackgroundTransferWorker | backgroundTransferWorker | The background transfer worker service. |
Nullable<ILogger<SiteBlstCommandExtension>> | logger | The logger. |
Properties
| Improve this Doc View SourceIsLoginRequired
Declaration
[Obsolete("Use the FtpCommandHandlerExtension attribute instead.")]
public override bool? IsLoginRequired { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Overrides
Methods
| Improve this Doc View SourceInitializeConnectionData()
Declaration
public override void InitializeConnectionData()
Overrides
| 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>> |