Interface IFtpServerMessages
Interface to get the default messages.
Namespace: FubarDev.FtpServer.Localization
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpServerMessages
Remarks
This is incomplete yet, but it supports (at least) the configuration of banner and greeting messages.
Methods
| Improve this Doc View SourceGetBannerMessage()
Gets the FTP servers banner message.
Declaration
IEnumerable<string> GetBannerMessage()
Returns
| Type | Description |
|---|---|
| IEnumerable<String> | the FTP servers banner message. |
GetDirectoryChangedMessage(Stack<IUnixDirectoryEntry>)
Gets the message that the directory could be changed successfully.
Declaration
IEnumerable<string> GetDirectoryChangedMessage(Stack<IUnixDirectoryEntry> path)
Parameters
| Type | Name | Description |
|---|---|---|
| Stack<IUnixDirectoryEntry> | path | The path the message needs to be created for. |
Returns
| Type | Description |
|---|---|
| IEnumerable<String> | the FTP servers message. |
GetPasswordAuthorizationSuccessfulMessage(IAccountInformation)
Gets the message that the password authorization was successfully.
Declaration
IEnumerable<string> GetPasswordAuthorizationSuccessfulMessage(IAccountInformation accountInformation)
Parameters
| Type | Name | Description |
|---|---|---|
| IAccountInformation | accountInformation | The account information. |
Returns
| Type | Description |
|---|---|
| IEnumerable<String> | the FTP servers message. |