The FileServerSettings type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AcceptWindowsPaths |
Gets or sets a value indicating whether the SFTP subsystem accepts Windows-like paths with drive letter, colon and backspaces.
If accepted, these paths get normalized from 'd:\directory\file' form to '/d/directory/file' form.
| |
AllowedAuthenticationMethods |
Gets or sets authentication methods that server users can use by default.
This can be overriden by PreAuthentication event handler.
Please note that authentication methods must be enabled at the SSH level
using Settings / AuthenticationMethods as well.
(Inherited from ServerSettings.) | |
Banner |
Gets or sets the banner message announced to the client before authentication.
(Inherited from ServerSettings.) | |
DiffieHellmanParametersCache |
Gets or sets Diffie-Hellman parameters cache.
| |
EnableEventsForFailedTransfers |
Gets or sets a value indicating whether to raise FileDownloaded and/or FileUploaded
events for incomplete transfers.
| |
FileShareMode |
Gets or sets flags for controlling the kind of access others can have to an opened file.
| |
ForceShellWelcomeMessage |
Gets or sets a value indicating whether to show ShellWelcomeMessage on pseudoterminal-less shell sessions as well.
By default, the welcome message is only shown for shell sessions with a pseudoterminal.
| |
GetItemInfoRequiresListPermission |
Gets or sets a value indicating whether getting item info requires Read or List permission
(used for FileServer.PathAccessAuthorization event).
Default is false, which means getting item info requires Read permission.
| |
IgnoreKeepAlive |
Gets or sets a value indicating whether keep-alive packets are ignored
when determining whether the client session has been idle.
(Inherited from ServerSettings.) | |
KeepAlivePeriod |
Gets or sets keep-alive period (in seconds). If the session has been inactive for the specified period, a a keep-alive packet is send to ensure it stays active.
(Inherited from ServerSettings.) | |
KeepSessionsAlive |
Gets or sets a value indicating whether to keep active sessions running when the server is stopped.
(Inherited from ServerSettings.) | |
MaxAuthenticationAttempts |
Gets or sets maximum number of authentication retry attempts on a single session.
(Inherited from ServerSettings.) | |
MaxIdleDuration |
Gets or sets maximum duration of an idle session (in seconds) before it is closed by the server.
(Inherited from ServerSettings.) | |
MaxPendingConnectionsQueueLength |
Specifies the maximum length of the pending connections queue.
(Inherited from ServerSettings.) | |
MaxSessionDuration |
Gets or sets maximum duration of a session (in seconds). When this duration expires, a session renegotiation occurs.
(Inherited from ServerSettings.) | |
MaxSessionTransferredBytes |
Gets or sets maximum number of bytes transferred during a session. When this value is reached, a session renegotiation occurs.
(Inherited from ServerSettings.) | |
SftpEncoding |
Gets or sets charset to be used by SFTP v3.
| |
SftpMaxVersion |
Gets or sets maximum enabled SFTP version. Allowed values are 3, 4, or 5.
| |
ShellEncoding |
Gets or sets charset to be used by SCP subsystem.
| |
ShellHostName |
Gets or sets the server's host name for SCP subsystem.
| |
ShellName |
Gets or sets the shell name for SCP subsystem.
| |
ShellPrompt |
Gets or sets the user's prompt for SCP subsystem.
| |
ShellSystemType |
Gets or sets the system type for SCP subsystem.
| |
ShellSystemVersion |
Gets or sets the system version for SCP subsystem.
| |
ShellWelcomeMessage |
Gets or sets the user's welcome message for SCP subsystem.
| |
ShowHiddenItems |
Gets or sets a value indicating whether to show hidden files and directories in listings. Default is true.
| |
SshParameters |
Gets or sets SSH parameters.
|