Configuring Java CAPS Project Components for Communication Adapters

Target Location (BatchLocalFile Connectivity Map)

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

Table 31 Connectivity Map - BatchLocalFile - Target Location

Name 

Description 

Required Value 

Append

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

  • Yes: If the target file already exists, the data is appended to the existing file.

  • 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 name (path) on the local system from which files are retrieved or where they are sent. The value can be a literal, regular expression (source), or pattern name (destination).

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


Note –

For path separator, use the forward slash “ / ” instead of the back slash “ \ ”. The adapter interprets the back slash as a special character. For example, use c:/temp/dir.


See the Target Directory Name Is Pattern property.

The directory name. 

Target Directory Name Is Pattern

Specifies whether the Target Directory Name represents a literal, or 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.

  • No: Indicates that the name value entered is a literal, an exact match. No pattern matching or name expansion is done.

See the Target Directory Name property.

Select Yes or No

The configured default is Yes.

Target File Name

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

See the Target Directory Name Is Pattern property.

A file name. 

Target File Name Is Pattern

Specifies whether the Target File Name represents a literal, or 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.

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

See the Target File Name Is Pattern property.

Select Yes or No.

The configured default is No.

Where to Go Next

For information on BatchSCP Adapter Connectivity Map configuration, go to Configuring Batch Adapter BatchSCP Adapter Connectivity Map Properties.

More Information

Related Topics

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