Class PasvCommandHandler
The command handler for the PASV
(4.1.2.) and EPSV
commands.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("PASV", false, true)]
[FtpCommandHandler("EPSV", false, true)]
[FtpFeatureText("EPSV")]
public class PasvCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourcePasvCommandHandler(PassiveDataConnectionFeatureFactory)
Initializes a new instance of the PasvCommandHandler class.
Declaration
public PasvCommandHandler(PassiveDataConnectionFeatureFactory dataConnectionFeatureFactory)
Parameters
Type | Name | Description |
---|---|---|
PassiveDataConnectionFeatureFactory | dataConnectionFeatureFactory | The data connection feature factory. |
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>> |