Description
-
Called after wodSFTP has some data to be provided as result of
RemoteRead command.
Syntax
-
void (*RemoteData)(void *Sftp, char *Data, int
Length);
The RemoteData 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 RemoteData callback is called if you use
RemoteRead
function, and wodSFTP manages to read remote file. More than one
RemoteData call can occur as result of only one RemoteRead function
call.
NOTE: this callback is called only if
you have created instance of SftpEventsStruct structure, and set up its RemoteData member to
function implementing it.
|