FtpLogoff

The FtpLogoff method logs off the FTP server and closes the connection. It also reinitializes the instance of the class so it can be used again.

Syntax:

>>-- myftpobj~FtpLogoff()------------------------------------------------><

Arguments:

None.

Return Values:

A value of 0 indicates successful execution of the method. The value -1 indicates an error. You can get the specific error code by inspection of the method FtpErrno. Possible values:

FTPCOMMAND

The internal FTP command or the arguments to the method are in error.