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

FTPFileFindClose

Closes a find (started with FTPFileFind) that did not run to completion. This function can only be used on the Internet Display Client.

Syntax

FTPFileFindClose(hndFTP)

hndFTP

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

Return Value

0 if no error is detected, or a Cicode error code if an error occurred.

Related Functions

FTPFileFind

Example

//Find the first DBF file starting with fred
sPath = FileFind("\User\Example\FRED*.DBF", 0);
IF (StrLength(sPath) > 0) THEN
//Do work here
FileFindClose();
END

See Also

FTP Functions