Show / Hide Table of Contents

    Interface IFeatureInfo

    Defines a feature and its handler.

    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IFeatureInfo

    Properties

    | Improve this Doc View Source

    Names

    Gets the name of the feature.

    Declaration
    [Obsolete("Features don't have names. Use an attribute that implements IFeatureInfo, like - for example - FtpFeatureTextAttribute.")]
    ISet<string> Names { get; }
    Property Value
    Type Description
    ISet<String>
    Remarks

    Used by the OPTS command to find the handler of the feature to modify.

    | Improve this Doc View Source

    RequiresAuthentication

    Gets a value indicating whether this extension requires authentication.

    Declaration
    [Obsolete("This requirement is automatically determined through the FTP command handler.")]
    bool RequiresAuthentication { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    BuildInfo(IFtpConnection)

    Build an informational string to be sent by the FEAT command.

    Declaration
    [Obsolete("Use BuildInfo(object, IFtpConnection) instead.")]
    string BuildInfo(IFtpConnection connection)
    Parameters
    Type Name Description
    IFtpConnection connection

    The configured connection.

    Returns
    Type Description
    String

    the informational string to be sent by the FEAT command.

    | Improve this Doc View Source

    BuildInfo(Type, IFtpConnection)

    Build an informational string to be sent by the FEAT command.

    Declaration
    IEnumerable<string> BuildInfo(Type reference, IFtpConnection connection)
    Parameters
    Type Name Description
    Type reference

    The reference object type (e.g. an FTP command handler).

    IFtpConnection connection

    The configured connection.

    Returns
    Type Description
    IEnumerable<String>

    the informational strings to be sent by the FEAT command.

    • 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.