Method FTPClient():disconnect() Professional

Disconnects from the FTP server.

:disconnect() --> lSuccess

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


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().


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.