UNIX Agent - File Transfer Support
When defining a File Transfer object, you can make use of additional options in the File Transfer page, File Attributes field. There are also some specifics concerning the source and target hosts.
This page includes the following:
Options reclen and nl
UNIX does not use file attributes. Only the options reclen and nl are considered, all other specifications are ignored. If you need to specify several options, you must separate them with a comma.
Options for the Source File Attributes
- reclen - Record length specified in bytes
- nl=mixed -a CR character used at the end of a text file's line can corrupt the file in some systems. The value "mixed" automatically removes this character.
Options for the Destination File Attributes
- nl - character for inserting line breaks
Allowed values: "crlf", "lf" (default value) and "none"
"crlf" - carriage return and line feed
"lf" - line feed
"none" - no line break is made
Example nl=crlf
Specifying Source and Target Hosts
Source Host
You can use the agent's INI file parameter FT_Linkfiles to determine the behavior of the source host. For more information, see Agent Unix.
Target Host
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.