# CfAlias Parameters

TIBCO MFT Platform Server provides a sample alias file called CfAlias.cfg in the $CFROOT/config directory.

In CfAlias.cfg file, one parameter is defined in each line, and continuations are defined by a comma followed by a space. You can set the path for the CfAlias.cfg file using the AliasConfig parameter in the config.txt file. For more information, see AliasConfig in Common Configuration Parameters.

See the following table for the required CfAlias parameters. At least, you must define either the USERID parameter or the NODE/IPADDR parameters.

Parameter | Description
--- | ---
USERID | Defines the user ID of the user who initiates the transfer request. The valid values are userId or DEFAULT. Note: DEFAULT indicates a match with any user.
NODE | Defines the name of the node on which the transfer request is initiated. The valid values are nodename or DEFAULT. Note: DEFAULT indicates a match with any node.
IPADDR | Defines the IP address of the server on which the transfer request is initiated.

See the following table for parameters which set up the criteria the transfer has to meet before CfAlias is applied:

Parameter | Description
--- | ---
TYPE | Defines the type of transfer request. The valid values are SEND, RECEIVE, or BOTH. Note: A send transfer to the initiator is considered as a receive transfer to the responder.
FILE | Defines the fully qualified name you want to use instead of the alias file.
ALIAS | Defines the actual name of the file requested by the initiator.
ALLOW | Defines whether the user who initiates the transfer can define the actual file name if no match is found. Note: ALLOW and FILE/ALIAS are mutually exclusive. The valid values are: NO: the FILE and ALIAS parameters must be defined. YES: the FILE and ALIAS parameters must not be defined.

When creating a CfAlias, you must define either NODE/IPADDR or USERID. Then you can define what type of transfer request you want to monitor. Then finally set ALLOW to decide whether the initiator user can define file name on the responder. If the parameters of a send transfer do not match any entry in the CfAlias.cfg file, the transfer is rejected.
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.