Table of Contents

Codeunit "SFTP Operation Response"

ID 9764
Namespace: System.SFTPClient

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

GetError

Returns the error message if an error occurred during the SFTP operation. If no error occurred, it returns an empty string.

procedure GetError(): Text

Returns

Type Description
Text

The error message

IsError

Checks if an error occurred during the SFTP operation. Returns true if an error occurred, false otherwise.

procedure IsError(): Boolean

Returns

Type Description
Boolean

True if an error occurred, false otherwise.

GetErrorType

Returns the type of error that occurred during the SFTP operation. If no error occurred, it returns the default value of the enum.

procedure GetErrorType(): Enum "SFTP Exception Type"

Returns

Type Description
Enum System.SFTPClient."SFTP Exception Type"

An enum representing the exception.

See also