File Transfer Template Syntax

Use the following syntax to create conditions for file transfer templates:

 

* (asterisk)

This works like a standard PC wildcard for one or more filename characters.

 

. (dot)

As in standard PC file naming, use to separate filenames from extensions.

 

=

Use in conjunction with the asterisk and the numerals 1-9 to identify the part of a filename you want to keep or strip out when transferring it.

For example, if a host filename has three parts, such as 1.2.3, and you want to keep just the second and third components of the filename when transferring it to your PC, you would use this condition:

*=1.*=2.*=3 (host file) --->*=2.*=3 (PC file)

 

1-9

Use the numerals 1 through 9 in conjunction with the asterisk (*) and the equal sign (=) to identify the part of a filename you want to keep or strip out when transferring it.

For example, if a host filename has three parts, such as Test.Text.Demo, and you want to keep just the second and third components of the file name when transferring it to your PC, you would use this condition:

*=1.*=2.*=3 (host file) --->*=2.*=3 (PC file)

which in this example would yield Text.Demo.

 

If a host filename has six parts and you want to keep the second and fifth parts when transferring it to your PC, the condition would be:

*=1.*=2.*=3.*=4.*=5.*=6 ---> *=2.*=5

You can use up to eight numerals in a condition.

Related Topics

New Transfer Template Dialog Box

Create a File Transfer Template

Use File Transfer Naming Templates

Default File Transfer Templates

Mainframe File Transfer