wodSFTP API library - RemoteClose Method
      
 

Description

Closes remote file.


Return type
A Long value. If successful, 0 is returned, otherwise error as specified here

Syntax

long Sftp_RemoteClose(void *Sftp);

The RemoteClose function syntax has these parts:

Part Description
void *Sftp Handle of the created Sftp instance.

Remarks

The RemoteClose function closes file previously opened with RemoteOpen method. After RemoteClose function is called, you should not use RemoteRead or RemoteWrite functions anymore. However, you can open new file using RemoteOpen and repeat read/write process