Method SFTPClient():getLastMessage() Foundation

Gets the error message of the last operation.

Syntax
:getLastMessage() --> cMessage | NIL
Return

A string with a descriptive error message or an empty string if no error message exists. The method returns NIL if no error has occurred.

Description

Retrieves a descriptive error message for the last SFTP operation.

This method is typically used in conjunction with :getLastError() to provide detailed information about operation failures.

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.