Show / Hide Table of Contents

    Interface IPasvListener

    Wraps a TCPListener so we can easily use it in our commands that require a passive data connection.

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

    Properties

    | Improve this Doc View Source

    PasvEndPoint

    Gets the Endpoint under which the listener is reachable by clients.

    Declaration
    IPEndPoint PasvEndPoint { get; }
    Property Value
    Type Description
    IPEndPoint

    Methods

    | Improve this Doc View Source

    AcceptPasvClientAsync()

    Accept a client from a PASV command.

    Declaration
    Task<TcpClient> AcceptPasvClientAsync()
    Returns
    Type Description
    Task<TcpClient>

    A TcpClient with which to communicate with the client.

    Exceptions
    Type Condition
    SocketException

    Network error, see SocketError.

    ObjectDisposedException

    Listener was disposed of.

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