Show / Hide Table of Contents

    Interface IFtpDataConnectionFeature

    Feature for an FTP data connection.

    Inherited Members
    IDisposable.Dispose()
    Namespace: FubarDev.FtpServer.Features
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IFtpDataConnectionFeature : IDisposable

    Properties

    | Improve this Doc View Source

    Command

    Gets the FTP command that initiated the creation of the feature.

    Declaration
    FtpCommand? Command { get; }
    Property Value
    Type Description
    Nullable<FtpCommand>
    | Improve this Doc View Source

    LocalEndPoint

    Gets the local end point.

    Declaration
    IPEndPoint LocalEndPoint { get; }
    Property Value
    Type Description
    IPEndPoint
    Remarks

    This value is unreliable in case of an active data connection.

    Methods

    | Improve this Doc View Source

    GetDataConnectionAsync(TimeSpan, CancellationToken)

    Gets a new FTP data connection.

    Declaration
    Task<IFtpDataConnection> GetDataConnectionAsync(TimeSpan timeout, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    TimeSpan timeout

    The timeout for establishing the FTP data connection.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<IFtpDataConnection>

    The task.

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