Show / Hide Table of Contents

    Class PortCommandHandler

    Implements the PORT and EPRT commands.

    Inheritance
    Object
    FtpCommandHandler
    PortCommandHandler
    Implements
    IFtpCommandHandler
    IFtpCommandBase
    IFeatureHost
    Inherited Members
    FtpCommandHandler.Names
    FtpCommandHandler.IsLoginRequired
    FtpCommandHandler.IsAbortable
    FtpCommandHandler.CommandContext
    FtpCommandHandler.FtpContext
    FtpCommandHandler.Connection
    FtpCommandHandler.Data
    FtpCommandHandler.ServerMessages
    FtpCommandHandler.GetSupportedFeatures(IFtpConnection)
    FtpCommandHandler.GetExtensions()
    FtpCommandHandler.T(String)
    FtpCommandHandler.T(String, Nullable<Object>[])
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.CommandHandlers
    Assembly: FubarDev.FtpServer.Commands.dll
    Syntax
    [FtpCommandHandler("PORT", false, true)]
    [FtpCommandHandler("EPRT", false, true)]
    [FtpFeatureText("EPRT")]
    public class PortCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost

    Constructors

    | Improve this Doc View Source

    PortCommandHandler(ActiveDataConnectionFeatureFactory, IOptions<PortCommandOptions>)

    Initializes a new instance of the PortCommandHandler class.

    Declaration
    public PortCommandHandler(ActiveDataConnectionFeatureFactory dataConnectionFeatureFactory, IOptions<PortCommandOptions> options)
    Parameters
    Type Name Description
    ActiveDataConnectionFeatureFactory dataConnectionFeatureFactory

    The factory to create a data connection feature for active connections.

    IOptions<PortCommandOptions> options

    The options for this command.

    Methods

    | Improve this Doc View Source

    Process(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>>
    Overrides
    FtpCommandHandler.Process(FtpCommand, CancellationToken)

    Implements

    IFtpCommandHandler
    IFtpCommandBase
    IFeatureHost
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.