Method FTPClient2():disconnect() Foundation
Closes the connection.
:disconnect() --> self
This method returns self.
Closes the active connection to the FTP server. This method must be called when all operations have been completed to properly release network resources.
It is recommended to call this method even if operations have failed, to ensure proper cleanup of resources.
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.