Cicode Programming Reference > Cicode Function Categories > FTP Functions Introduction > FTPClose

FTPClose

Closes an FTP session. This function can only be used on the Internet Display Client.

Syntax

FTPClose(hndFTP)

hndFTP:

The handle of a valid FTP session, as returned by FTPOpen().

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

FTPOpen

Example

INT hFtp;
hFtp = FtpOpen("", "", "");
..
FtpClose(hFtp);

See Also

FTP Functions