DataToSend Property

A string of data to be sent to the remote host.

Syntax

ANSI (Cross Platform)
int SetDataToSend(int iSSHChannelId, const char* lpDataToSend, int lenDataToSend);

Unicode (Windows)
INT SetDataToSend(INT iSSHChannelId, LPCSTR lpDataToSend, INT lenDataToSend);
- (NSString*)dataToSend:(int)sSHChannelId;
- (void)setDataToSend:(int)sSHChannelId:(NSString*)newDataToSend;

- (NSData*)dataToSendB:(int)sSHChannelId; - (void)setDataToSendB:(int)sSHChannelId:(NSData*)newDataToSend;
#define PID_SSHDAEMON_DATATOSEND 4


IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

A string of data to be sent to the remote host. Write-only property.

Assigning a string to the DataToSend makes the class send the string to the remote host.

The SSHChannelId parameter specifies the index of the item in the array. The size of the array is controlled by the SSHChannelCount property.

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

Data Type

Binary String

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 C++ Edition - Version 20.0 [Build 8501]