Description
-
Called after wodSFTP receives reply on ExtendedCmd.
Syntax
-
void (*ExtendedCmdReply)(void *Sftp, char *Data, int
Length);
The ExtendedCmdReply callback syntax has these parts:
| void
*Sftp |
Handle of the created Sftp
instance. |
| char *Data |
Pointer to (binary) data
received from the server. |
| int Length |
Total number of bytes received
in Data argument. |
Remarks
-
The ExtendedCmdReply event can be called by wodSFTP as result of
ExtendedCmd
function call. Data argument will contain byte array of SSH
structured data returned by remote side. If you're interested in the
data, you should know type of extension and it's structure to
correctly understand the data.
NOTE: this callback is called only if
you have created instance of SftpEventsStruct structure, and set up its ExtendedCmdReply member to
function implementing it.
|