Rebex File Server

SFTP, SCP and SSH server library for .NET

Download 30-day free trial Buy from $349
More .NET libraries

Back to feature list...

Events

Authentication event 

The FileServer.Authentication event is raised when an authentication attempt was made by one of the connected sessions. Use it to implement custom authentication providers.

Tip: For sample code, see Custom authentication provider.

PreAuthentication event 

The FileServer.PreAuthentication event is raised when authentication is about to start. Use it to specify which authentication methods to allow for the user attempting authentication.

Tip: For sample code, see Advanced authentication provider.

Connecting event 

The FileServer.Connecting event is raised when an incoming connection has been accepted and algorithm negotiation is about to start. Use it when you only wish to accept some connections and reject others.

Tip: For sample code, see Accepting or rejecting connections.

Disconnected event 

The FileServer.Disconnected event is raised when a connection has been closed or lost.

Tip: For sample code, see Accepting or rejecting connections.

ErrorOccurred event 

The FileServer.ErrorOccured event is raised when an unhandled exception occurs during one of the sessions.

Note: These errors are logged as well.

PathAccessAuthorization event 

The FileServer.PathAccessAuthorization event is raised when a virtual file system operation needs to be authorized. Use it to implement custom access control.

Tip: For sample code, see Custom file access authorization.

ShellCommand event 

The FileServer.ShellCommand event is raised when a virtual shell user executes a command. Use it to implement custom shell commands or redefine built-in commands.

Tip: For sample code, see Custom commands.

TunnelRequested event 

The FileServer.TunnelRequested event is raised when a tunneling request has been received. Use it to decide whether to accept or reject the request.

Tip: For sample code, see Port forwarding.

FileDownloaded and FileUploaded events 

The FileServer.FileUploaded event and FileServer.FileDownloaded event are raised when a file has been uploaded or downloaded, respectively. Use it to monitor files transferred to/from the server.

Tip: For sample code, see Tracking uploads and downloads.

Back to feature list...