Back to product page

Disconnected callback


Called when wodSFTP disconnects from the server.

Syntax

  • C
void (*Disconneted)(void *Sftp);
The Disconnected(void *Sftp) syntax has these parts:
void *SftpHandle of the created Sftp instance.

Remarks

After this callback is called, you are free to set up wodSFTP properties again and issue Connect again.

NOTE: this callback is called only if you have created an instance of the SftpEventsStruct structure, and set its Disconnected member to function implementing it.

Platforms

Windows