Method FTPClient():disconnect() Professional

Disconnects from the FTP server.

Syntax
:disconnect() --> lSuccess
Return

The method returns .T. (true) when an open connection could be terminated, otherwise .F. (false) is returned.

Description

This method must be called to disconnect from an FTP server after a connection was successfully established. After :disconnect(), a new connection can be created with :connect().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.