How to determine what the user is doing

0
Is there a way to determine what the user is doing at each connection? In other words, how can I tell if a user is trying to log on, upload a file, or download a file? and if so, which file? And if this is possible, how is it done? I can't find any items in the event arguments or in your documentation that would describe how to do this.
 
asked 3/16/2021 3:19:04 PM
add a comment

1 Answers

0
Hi, there are many events that are triggered when user is doing some action. These are events that you can handle for authentication: (_server is an instance of SftpSshServer) _server.Authentication = AuthenticationEvent; _server.Connecting = ConnectingEvent; _server.ShellCommand = ShellCommandEvent; _server.Disconnected = DisconnectedEvent; _server.PreAuthentication = PreAuthenticationEvent; You could handle following event to detect what user is doing _server.FileUploaded _server.FileDownloaded Hope this hint helps
edited 3/17/2021 4:22:04 AM
answered 3/17/2021 4:21:18 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ultimate sftp or ask your own question.