Configuring Java CAPS Project Components for Communication Adapters

Target Location (BatchFTP Connectivity Map)

The Target Location section allows you to configure the parameters for the Target Location (remote location) of the FTP directories and files.

The Target Location section of the BatchFTP Connectivity Map properties contains the top-level parameters displayed in this table:

Table 18 Connectivity Map - BatchFTP - Target Location

Name 

Description 

Required Value 

Append

Specifies whether to overwrite or append the data to the existing file. Use this parameter for outbound FTP transfers only. Choose the appropriate setting as follows,

  • If you select Yes and the target file already exists, the data is appended to the existing file.

  • If you select No, the adapter overwrites the existing file on the remote system.

    If a file with the same name does not exist, both Yes and No create a new file on the external host.

Select Yes or No.

The configured default is No.

Target Directory Name

Specifies the directory on the external system from which files are retrieved or sent. The directory name and path is preferred, otherwise, the path is relative to your home directory when you log on to the FTP server.

The value can be a literal, regular expression (source), or pattern name (destination). 

For outbound FTP operations (destination), the directory is created if it does not already exist. 

See Target Directory Name Is Pattern property.

A directory name and path on the target external system. 

Target Directory Name Is Pattern

Specifies whether the directory name is represented as literal, or as a regular expression or name pattern, as follows,

  • Yes: Indicates that the name value you enter is assumed to be a name pattern or regular expression.

    See Target Directory Name property.

  • No: Indicates that the name entered is a literal, an exact match.

Select Yes or No.

The configured default is No.

Target File Name

Specifies the name of the remote FTP file to be retrieved or sent. The value can be a literal, regular expression (get), or pattern name (put).

For MVS GDG systems, the target file name can be the version of the data set, for example, 

  • Target directory name = ”STC.SAMPLE.GDGSET

  • Target file name = (0) to indicate the current version

    See Target Directory Name property.

For inbound: a literal file name or a regular expression. 

For outbound: a literal file name or name pattern. 

Target File Name Is Pattern

Specifies whether the target file name represents a literal, or as a regular expression or name pattern, as follows,

  • Yes: Indicates that the name value you enter is assumed to be a name pattern or regular expression.

    See Target File Name property.

  • No: Indicates that the name entered is a literal, an exact match.

Select Yes or No.

The configured default is Yes.

Where to Go Next

SSH Tunneling (BatchFTP Connectivity Map).

More Information

Related Topics

For links to the other topics for this Adapter, go to Related Topics for Sun Adapter for Batch/FTP.