Skip to content

/AWS1/CL_TRNSFTPCNCTORCONNDETS

Contains the details for an SFTP connector connection.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_hostkey TYPE /AWS1/TRNSFTPCONNECTORHOSTKEY /AWS1/TRNSFTPCONNECTORHOSTKEY

The SSH public key of the remote SFTP server. This is returned during the initial connection attempt when you call TestConnection. It allows you to retrieve the valid server host key to update the connector when you are unable to obtain it in advance.


Queryable Attributes

HostKey

The SSH public key of the remote SFTP server. This is returned during the initial connection attempt when you call TestConnection. It allows you to retrieve the valid server host key to update the connector when you are unable to obtain it in advance.

Accessible with the following methods

Method Description
GET_HOSTKEY() Getter for HOSTKEY, with configurable default
ASK_HOSTKEY() Getter for HOSTKEY w/ exceptions if field has no value
HAS_HOSTKEY() Determine if HOSTKEY has a value