Method SFTPClient():connect() Foundation

Establishes a connection.

Syntax
:connect() --> lSuccess
Return

.T. (true) if the connection is established successfully, .F. (false) otherwise.

Description

Establishes a secure connection to the SFTP server using the SSH protocol.

If the connection fails, use :getLastError() and :getLastMessage() methods to obtain detailed error information.

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.