wodSFTP API library - Disconnected Callback
    
 

Description

Called when wodSFTP disconnects from the server.


Syntax

void (*Disconneted)(void *Sftp);

The Disconnected callback syntax has these parts:

Part Description
void *Sftp Handle 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.