![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
To use scripts you must install the FESI EcmaScript Interpreter as described in TIBCO BusinessConnect Installation and Configuration, Installing FESI EcmaScript Interpreter to Support Custom Scripts.See FTP/S Inbound, FTP/S Outbound, and Configuring Outbound File Transport for a Partner for information on how to specify scripts in transport configuration dialogs.Script activities can be captured as audit trails using the logging object available in the context of the script. See Audit Logging in Scripts. In addition, an error advisory is also published when error is logged using the Java object.TIBCO BusinessConnect provides a Java API for use within scripts. For information on this API, see the TIBCO BusinessConnect API Reference.For reference, see FTPClient, FTPReply, and UserLogAccess scripts in TIBCO BusinessConnect API Reference.Secure FTP (FTPS) is supported within FTP scripts by using the FTPClient API in secure mode. Secure mode is activated by providing the certificate specified for the trading partner to the setSSLCertificate(java.lang.String) method.If the FTP server supports SSL with client authentication, then the host private key should also be set with setSSLHostKey(java.lang.String).The default secure transport version is obtained from the FTPS configuration settings (see Selecting and Configuring FTP/S Inbound and Configuring FTP/S Outbound). You can modify the transport version with the method setTransportType(java.lang.String).For reference, see FileAttr, SSHFTPClient, SSHFTPReply, and IFTPFlavorReply scripts in TIBCO BusinessConnect API Reference.PGP is supported within FTP/FTPS/SSHFTP script also by using FTP/FTPS/SSHFTP Client API. You can set up PGP options (sign, encrypt, compress, format, and so on) by using methods defined in the FTP/FTPS/SSHFTP Client object; however, PGP keys and cipher algorithms used in PGP packaging or un-packaging still need to be configured in the business agreements's Document Exchange. For more details, see Business Agreement: Document Security Tab.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |