Show / Hide Table of Contents

    Class FtpServerBuilderExtensions

    Extension methods for IFtpServerBuilder.

    Inheritance
    Object
    FtpServerBuilderExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public static class FtpServerBuilderExtensions

    Methods

    | Improve this Doc View Source

    EnableAnonymousAuthentication(IFtpServerBuilder)

    Enables anonymous authentication.

    Declaration
    public static IFtpServerBuilder EnableAnonymousAuthentication(this IFtpServerBuilder builder)
    Parameters
    Type Name Description
    IFtpServerBuilder builder

    The server builder used to configure the FTP server.

    Returns
    Type Description
    IFtpServerBuilder

    the server builder used to configure the FTP server.

    | Improve this Doc View Source

    UseRootPerUser(IFtpServerBuilder, Nullable<Action<RootPerUserAccountDirectoryQueryOptions>>)

    Uses the user name as root directory (NOT ITS HOME DIRECTORY!).

    Declaration
    public static IFtpServerBuilder UseRootPerUser(this IFtpServerBuilder builder, Action<RootPerUserAccountDirectoryQueryOptions>? configure = default(Action<RootPerUserAccountDirectoryQueryOptions>? ))
    Parameters
    Type Name Description
    IFtpServerBuilder builder

    The server builder used to configure the FTP server.

    Nullable<Action<RootPerUserAccountDirectoryQueryOptions>> configure

    Optional service configuration.

    Returns
    Type Description
    IFtpServerBuilder

    the server builder used to configure the FTP server.

    Remarks

    This might not be useful in a production system.

    | Improve this Doc View Source

    UseSingleRoot(IFtpServerBuilder, Nullable<Action<SingleRootWithoutHomeAccountDirectoryQueryOptions>>)

    Uses a single root for all users.

    Declaration
    public static IFtpServerBuilder UseSingleRoot(this IFtpServerBuilder builder, Action<SingleRootWithoutHomeAccountDirectoryQueryOptions>? configure = default(Action<SingleRootWithoutHomeAccountDirectoryQueryOptions>? ))
    Parameters
    Type Name Description
    IFtpServerBuilder builder

    The server builder used to configure the FTP server.

    Nullable<Action<SingleRootWithoutHomeAccountDirectoryQueryOptions>> configure

    Optional service configuration.

    Returns
    Type Description
    IFtpServerBuilder

    the server builder used to configure the FTP server.

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