OnVersionSelect not used?

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
cboling
Posts: 24
Joined: Fri 12 Apr 2013 01:00

OnVersionSelect not used?

Post by cboling » Sun 14 Apr 2013 03:58

On Delphi 5, I double-clicked the OnVersionSelect event in the Object Inspector to create the event handler, and added code. The routine is never called, no matter what I set Version to.

Displaying the Version and ServerVersion after the negotiation confirms that my server supports V3 (which I know to be true); if I set Version to anything greater than 3, ServerVersion ends up as 3, and if I set version to anything less than 3, ServerVersion happily lowers to match. OnVersionSelect is never called, though.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: OnVersionSelect not used?

Post by Dimon » Mon 13 May 2013 10:03

Thank you for your inquiry.
The OnVersionSelect event is raised only when an SFTP server uses the 'versions' extension on connection establishment. This extension is not supported by many of SFTP servers, and SFTP client cannot affect this extension use.

Post Reply