Interface IFileSystemClassFactory
This factory interface is used to create a IUnixFileSystem implementation for a given user ID.
Namespace: FubarDev.FtpServer.FileSystem
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFileSystemClassFactory
Methods
| Improve this Doc View SourceCreate(IAccountInformation)
Creates a IUnixFileSystem implementation for a given accountInformation
.
Declaration
Task<IUnixFileSystem> Create(IAccountInformation accountInformation)
Parameters
Type | Name | Description |
---|---|---|
IAccountInformation | accountInformation | The FTP account to create the IUnixFileSystem for. |
Returns
Type | Description |
---|---|
Task<IUnixFileSystem> | The new IUnixFileSystem for the |
Remarks
When the login is anonymous, the User must be of type IAnonymousFtpUser.