SFTPConnectionRemotePort Property
The RemotePort shows the TCP port on the remote host through which the connection is coming.
Syntax
ANSI (Cross Platform) int GetSFTPConnectionRemotePort(int iConnectionId); Unicode (Windows) INT GetSFTPConnectionRemotePort(INT iConnectionId);
- (int)SFTPConnectionRemotePort:(int)connectionId;
#define PID_SFTPSERVER_SFTPCONNECTIONREMOTEPORT 9 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
0
Remarks
The SFTPConnectionRemotePort shows the TCP port on the remote host through which the connection is coming.
The connection must be valid or an error will be fired.
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