Back to product page

RemoteClose function


Closes remote file.

Type

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

Syntax

  • C
long Sftp_RemoteClose(void *Sftp);
The RemoteClose(void *Sftp) syntax has these parts:
void *SftpHandle 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

Platforms

Windows