Show / Hide Table of Contents

    Interface IFtpServerHost

    Interface for a simple FTP server host.

    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public interface IFtpServerHost
    Remarks

    This services is used to start and stop all IFtpService instances.

    Methods

    | Improve this Doc View Source

    StartAsync(CancellationToken)

    Must be called to start the FTP server host.

    Declaration
    Task StartAsync(CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    Indicates that the start process has been aborted.

    Returns
    Type Description
    Task

    The task.

    Remarks

    Starts all FTP server services.

    | Improve this Doc View Source

    StopAsync(CancellationToken)

    Must be called for a graceful shutdown of the FTP server host.

    Declaration
    Task StopAsync(CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    Indicates that the shutdown process should no longer be graceful.

    Returns
    Type Description
    Task

    The task.

    Remarks

    Stops all FTP server services.

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