C# Class FubarDev.FtpServer.FileSystem.DotNet.DotNetFileSystemProvider

A IFileSystemClassFactory implementation that uses the standard .NET functionality to provide file system access.
Inheritance: IFileSystemClassFactory
ファイルを表示 Open project: FubarDevelopment/FtpServer Class Usage Examples

Public Methods

Method Description
Create ( string userId, bool isAnonymous ) : Task
DotNetFileSystemProvider ( [ rootPath ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

Method Details

Create() public method

public Create ( string userId, bool isAnonymous ) : Task
userId string
isAnonymous bool
return Task

DotNetFileSystemProvider() public method

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath ) : System.IO
rootPath [ The root path for all users
return System.IO

DotNetFileSystemProvider() public method

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
return System.IO

DotNetFileSystemProvider() public method

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
streamBufferSize int Buffer size to be used in async IO methods
return System.IO