Rebex File Server
SFTP, SCP and SSH server library for .NET
Download 30-day free trial Buy from $349More .NET libraries
-
Rebex SFTP
.NET SFTP client
-
Rebex FTP
.NET FTP client
-
Rebex Total Pack
All Rebex libraries together
Back to feature list...
Events
On this page:
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.
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.
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.
Disconnected event
The FileServer.Disconnected
event is raised when a connection has been closed or lost.
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.
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.
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.
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.
Back to feature list...