Description - Embeds a specified binary, XML, JSON or text file in the input document

Runtime Class - com.ibi.agents.XDNPFFTPReadAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
*File Name:stringFile to be read.
*Format:stringFormat of the input data

Select from one of the following options:
  • Flat {flat} - File must not be parsed.
  • XML {xml} - The file is an XML document.
  • JSON {json} - The file is a JSON document.
* - denotes required
 ParameterTypeDescription
*Transfer Mode:stringWhen files are transferred in ASCII mode, the transferred data is expected to contain only character formatted text. BINARY mode refers to transferring files as a binary stream of data. Where ASCII mode may use special control characters to format data, BINARY mode transmits the raw bytes of the file being transferred. In this way, the file is transferred in its exact original form.

Select from one of the following options:
  • ascii - Transfer in character mode
  • binary - Transfer in binary mode
*Delete After Read:booleanWhether to delete the file after the read
* - denotes required
 ParameterTypeDescription
Encoding:stringCharacter set encoding to be performed on input. Base 64 is required for flat binary data

Select from one of the following options:
  • Asis - Encoding as set by listener.
  • base64 - Base 64; creates a Base 64 encoded string that can be used in an XML document.
*Embed:booleanWhether to embed the data from the read operation into the input document
Tag:stringName of the node to wrap the data read in flat format.
Parent Tag:stringWhere in the input document the input data should be embedded
* - denotes required
 ParameterTypeDescription
*FTP Namespace:stringThis prefix is given to any register this connector creates. ie ftp.read, sftp.read, etc.
* - denotes required
 ParameterTypeDescription
Action on Failure:stringWhether input document or status document returned on failure

Select from one of the following options:
  • iWay Status Document {status} - Replace input with standard iWay status document
  • Original Input Document {input} - Output of node is original document
* - denotes required

Output Events

NameDescription
OnFailedOperationCould not perform the operation requested.
OnFailConnectionCould not connect to the external system.
OnFailSecurityCould not operate due to a security violation.