Discuss this help topic in SecureBlackbox Forum

SFTP: Get access to underlying objects from TElSimpleSFTPServer

Sometimes you need to read or adjust properties of the low-level classes, incapsulated in TElSimpleSFTPServer.

TElSimpleSFTPServer fires OnOpenSubsystem event, the first parameter of which, Sender, is an instance of TElSimpleSFTPServerSessionThread class. TElSimpleSFTPServerSessionThread has read-only properties such as SFTPServer (owning TElSimpleSFTPServer), Socket (TElSocket) and SSHServer (TElSSHServer) which you can use for your purposes.

How To articles about SFTP server

Discuss this help topic in SecureBlackbox Forum