SFTPConnectionProtocolVersion Property

The ProtocolVersion shows the SFTP protocol version negotiated with the client when the SFTP connection was established.

Syntax

ANSI (Cross Platform)
int GetSFTPConnectionProtocolVersion(int iConnectionId);

Unicode (Windows)
INT GetSFTPConnectionProtocolVersion(INT iConnectionId);
- (int)SFTPConnectionProtocolVersion:(int)connectionId;
#define PID_SFTPSERVER_SFTPCONNECTIONPROTOCOLVERSION 7

IPWORKSSFTP_EXTERNAL void* IPWORKSSFTP_CALL IPWorksSFTP_SFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSSFTP_EXTERNAL int IPWORKSSFTP_CALL IPWorksSFTP_SFTPServer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

3

Remarks

The SFTPConnectionProtocolVersion shows the SFTP protocol version negotiated with the client when the SFTP connection was established.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the SFTPConnectionCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 C++ Edition - Version 20.0 [Build 8162]