TScSFTPVersionSelectEvent = procedure(Sender: TObject; const Versions: TScSFTPVersions; var Version: TScSFTPVersion) of object;


property OnVersionSelect: TScSFTPVersionSelectEvent;



The OnVersionSelect event occurs when establishing a connection to the SFTP server on calling the Initialize method. If the server supports higher versions, then it was specified during the initialization, it can notify the client about this and OnVersionSelect will be initiated.



Sender - the object that raised the event.
Versions - the set of SFTP protocols that are supported by the SFTP server.
Version - the version of the SFTP protocol that is used. If client wants to change this version, the value of this parameter may be changed to one of the supported versions of the SFTP protocol.


See Also




SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support