The ssh_putencrypted.txt script gets the
SSHFTPClient object from the job variable that is created at runtime by BusinessConnect.
If there are connection failures, a flag called retryScripts (with the constant name defined in the API
com.tibco.ax.fw.runtime.transport.sshftp.SSHFTPClient.RETRY_SLOT) may be used to set the value as
true, and passed on to BusinessConnect to retry the execution when retry of the outbound process occurs.
The ssh_getdecrypted.txt script gets the
SSHFTPClient object from the job variable that is created at runtime by BusinessConnect.
The SSHFTPClient object is used to connect to the SSHFTP server. It checks whether the
examples1 directory is available. If it is, the script calls
executeMgetCmd to get all the files from the SSHFTP Server.
Once the files are successfully retrieved and then processed by the PGP API, the files from the examples1 directory are deleted. If the files could not be retrieved for some reason (such as when a communication failure happens), the corresponding tracing and auditing entries are created. In such case, the script retrieves all files from the
examples2 directory whose extension is
*.bin and whose size is greater than or equal to 200 KB. Upon successful retrieval, the retrieved files are deleted.