FileServer Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)
Implements the SFTP/SSH server.
Syntax
public class FileServer : Server, IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
File |
Initializes a new instance of this object. |
Properties
Name | Description |
---|---|
Bindings | Gets a read-only collection of server bindings. Inherited from Server. |
Is |
Gets a value indicating whether the server is currently running. Inherited from Server. |
Keys | Gets a collection of server keys. Inherited from Server. |
Log |
Gets or sets the log writer used by this object. Inherited from Server. |
Modules | Gets an enumerator for currently bound modules. Inherited from Server. |
Sessions | Gets an enumerator for currently active sessions. Inherited from Server. |
Settings | Gets server settings. |
Users | Gets a user collection that provide a simple default user database which is used when no custom authentication has been defined. |
Methods
Name | Description |
---|---|
Bind(Server |
Binds the specified module to its default port on all network interfaces. Inherited from Server. |
Bind(File |
Binds the specified protocol to its default port on all network interfaces. |
Bind(Int32, Server |
Binds the specified module to the specified port on all network interfaces. Inherited from Server. |
Bind(Int32, File |
Binds the specified protocol to the specified port on all network interfaces. |
Bind(IPEnd |
Binds the specified module to the specified endpoint. Inherited from Server. |
Bind(IPEnd |
Binds the specified protocol to the specified endpoint. |
Create |
Creates SSH server module host. |
Dispose() | Disposes the server object, releasing all listeners and sessions. Inherited from Server. |
Start() | Starts the server. Inherited from Server. |
Stop() | Stops the server. Inherited from Server. |
Unbind() | Unbinds all modules. Inherited from Server. |
Unbind(Server |
Unbinds the specified module from all endpoints. Inherited from Server. |
Unbind(Int32) | Unbinds all modules bound to the specified port. Inherited from Server. |
Unbind(IPAddress) | Unbinds all modules bound to the specified address. Inherited from Server. |
Unbind(IPEnd |
Unbinds all modules bound to the specified endpoint. Inherited from Server. |
Events
Name | Description |
---|---|
Authentication | Occurs when client is being authenticated. Inherited from Server. |
Connecting | Occurs when a client is connecting. Inherited from Server. |
Disconnected | Occurs when a client has disconnected. Inherited from Server. |
Error |
Occurs when an error occurs while processing requests. Inherited from Server. |
File |
Occurs after a file (or a part of a file) has been downloaded. |
File |
Occurs after a file (or a part of a file) has been uploaded. |
Path |
Occurs when path access authorization is required. |
Pre |
Occurs when client authentication is about to start. Inherited from Server. |
Shell |
Occurs when a shell command is executed. |
Tunnel |
Occurs when a tunnel is requested. |