UNIX Agent - File Transfer Support

When defining File Transfers (JOBF), you can specify additional file formatting options for the source and destination files. Define them in the Source/Destination Settings > File Attributes fields on the File Transfer page of the object definition.

If you select the Keep Original File Attributes in the Transfer Settings section, the permissions of Unix File mode are transferred.

You can enter multiple formatting commands by separating them with commas.

Formatting Options for the Source File

  • reclen

    Record length specified in bytes

  • nl=mixed

    In some systems, a CR character at the end of a line can corrupt the file. Given that a CR character without an LF character is not considered a regular line ending, in regular file transfers, a CR is transferred as a regular character. Therefore, it would also appear in the destination file after the FileTransfer.

    Use this option to treat a CR character as a regular line ending so that is converted into the line ending defined for the destination file. See option n= for dst file attributes.

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: