-
Notifications
You must be signed in to change notification settings - Fork 1
Ftp Server MS SQL File System Sample Project
A sample implementation using the MS SQL as a file fystem for the Fubar Development Portable FTP server http://fubardevelopment.github.io/FtpServer/
MsSqlFtpServer
A configuration class to provide settings to the FtpServer.
Gets or sets a value indicating whether the FTP server should use implicit FTPS.
Gets or sets a value indicating whether the in-memory file system should be kept between two connects.
Gets or sets the membership provider to be used.
Gets or sets the passive port range.
Gets or sets the requested FTP server port.
Gets or sets a value indicating whether the Google Drive access token should be refreshed.
Gets or sets the requested server address.
Gets or sets the path to the server certificate file.
Gets or sets the password of the server certificate file.
Gets or sets a value indicating whether the help message should be shown.
Gets or sets a value indicating whether background upload should be used.
Gets the requested or the default port.
This method has no parameters.
Validates the current configuration.
This method has no parameters.
MsSqlFtpServer
The selected membership provider.
Use the membership provider for anonymous users.
Use the custom (example) membership provider.
MsSqlFtpServer
Configures Dependency Injection to use the MsSqlFileSystem and starts a FtpServerHost
Configures Dependency Injection to start a FtpServerHost using the MsSqlFileSystem
| Name | Type | Description |
|---|---|---|
| args | System.String[] |
Configures default Dependency Injection Services
| Name | Type | Description |
|---|---|---|
| options | MsSqlFtpServer.FtpServerConfigOptions | FtpServerConfigOptions options for the |
The main entry point.
| Name | Type | Description |
|---|---|---|
| args | System.String[] |
Builds a Service Provider and starts the FtpServerHost.
| Name | Type | Description |
|---|---|---|
| services | Microsoft.Extensions.DependencyInjection.IServiceCollection | The collection of services to provide for Dependency Injection. |