IsFtp()

Syntax

Result = IsFtp(#Ftp)
Description
Tests if the given #Ftp number is a valid and correctly initialized ftp client.

Parameters

#Ftp The connection to use.

Return value

Returns nonzero if the given number is a valid and correctly initialized client connection.

Remarks

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, else it returns zero. This is the correct way to ensure an ftp handle is ready to use.

See Also

OpenFTP(), CloseFTP(), CheckFTPConnection()

Supported OS

All

<- GetFTPDirectory() - Ftp Index - NextFTPDirectoryEntry() ->