Search Results for

    Class AMNetVirtualFileSystemFactory

    Maps authenticated users to local virtual filesystem roots.

    Inheritance
    object
    AMNetVirtualFileSystemFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Factories
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public class AMNetVirtualFileSystemFactory

    Constructors

    | Edit this page View Source

    AMNetVirtualFileSystemFactory(string)

    Creates a virtual filesystem factory that creates per-user directories under basePath.

    Declaration
    public AMNetVirtualFileSystemFactory(string basePath)
    Parameters
    Type Name Description
    string basePath

    The base directory that contains user home directories.

    | Edit this page View Source

    AMNetVirtualFileSystemFactory(string, bool)

    Creates a virtual filesystem factory.

    Declaration
    public AMNetVirtualFileSystemFactory(string basePath, bool createUserDirectory)
    Parameters
    Type Name Description
    string basePath

    The base directory used to resolve user home directories.

    bool createUserDirectory

    Whether missing user home directories may be created automatically.

    Properties

    | Edit this page View Source

    BasePath

    Gets the base directory used to resolve user home directories.

    Declaration
    public string BasePath { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    CreateUserDirectory

    Gets whether missing user home directories may be created automatically.

    Declaration
    public bool CreateUserDirectory { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ResolveUserHomeDirectory(string)

    Resolves the local home directory for an authenticated username.

    Declaration
    public virtual string ResolveUserHomeDirectory(string username)
    Parameters
    Type Name Description
    string username

    The authenticated username.

    Returns
    Type Description
    string

    The local directory path to use as the user's home.

    • Edit this page
    • View Source
    In this article
    Back to top Porta SFTP ServerGitHubApacheMinaSSHD.NET Generated by DocFX