The following list explains the nodes in the BatchLocalFile OTD, including primary functions:
Configuration: The field sub-nodes within this node corresponds to an adapter configuration parameter and contains the corresponding settings information. See BatchLocalFile Connectivity Map Properties for details on these parameters and settings.
This OTD has configuration parameters that can be regular expressions. See Using Regular Expressions for details.
Client: The following sub-nodes, contained in this node, implement the adapter’s client interface in the OTD (LocalFileClient):
ResolvedNamesToGet and ResolvedNamesToPut: Allow you to get the real file or directory name used during a transfer and perform an operation with it. For example, you could do a local file transfer, with get() or put(), using the real name. You are able to retrieve the real file or directory name, even if these names have been expressed using regular expressions or special characters.These nodes contain sub-nodes allowing you to resolve file and directory names for target destinations, as well as names for pre- and post-transfer commands (see Pre/Post File Transfer Commands for details).
See Using Regular Expressions and Using Name Patterns for more information on these features.
InputStreamAdapter and OutputStreamAdapter: Allow you to use and control the OTD’s data-streaming features; see Streaming Data Between Components for details.
Payload: An in-memory buffer that contains the payload or message data you want to transfer by local file, in the form of a byte array.
get(), put(), and reset(): See Essential BatchLocalFile OTD Methods.
ResumeReadingInProgress: This node allows you to resume a data-streaming file transfer operation that was interrupted for whatever reason. These transfers occur piece by piece and usually involve large files. This feature allows you to resume at the same point where the transfer left off when it stopped.
You can transfer data using the Payload node or by using data streaming (InputStreamAdapter and OutputStreamAdapter nodes), but you cannot use both methods in the same OTD.