UNIX Agent - File Transfer Support
When defining a UNIX File Transfers (JOBF) object, you can specify additional file formatting options for the source and destination files. You specify them in the Source/Destination Settings > File Attributes fields on the File Transfer page of the object definition.
You can enter multiple formatting commands separating them with commas.
Formatting Options for the Source File
-
reclen
Record length specified in bytes
-
nl=mixed
A CR character at the end of a line can corrupt the file in some systems. Use this option to automatically remove this character.
Formatting Options for the Destination File
You may need to modify how line breaks are formatted. Use nl (insert new line) for this purpose.
Allowed values: crlf, lf (default) and none
- crlf - carriage return and line feed
- lf - line feed
- none - no line break
Example: nl=crlf
Specifying Source and Target Agents
Source Agent
Use the Agent's FT_Linkfiles INI file parameter to determine the behavior of the source Agent. For more information, see Agent Unix.
Target Agent
Regardless of the parameters that have been set, the UNIX Agent also considers links in file paths. The following conditions apply:
- A directory that is part of the path is a link:
- Files will be transferred.
- The file part of the path is a link:
- If the file already exists in the target, it will be overwritten (if Overwrite is activated).
- If the linked file does not exist, the link is overwritten.
See also: