Examples: Access Control

You can define access control parameters to use the access control feature of TIBCO MFT Platform Server. For example, you can define RECEIVE_OPTION parameter to determine whether to append both the file name and sender directory name to the receiver directory name.

  • RECEIVE_DIR=/a/b
    RECEIVE_OPTION=FORCE

    In this example, the directory name is defined in the RECEIVE_DIR parameter and the RECEIVE_OPTION parameter is set to FORCE. As a result, the defined file name in the LocalFileName parameter is appended to the directory defined by the RECEIVE_DIR parameter.

    If the LocalFileName parameter in the transfer command is set as:

    /test/2008/accounting/tax.data

    The actual file name is expected to be:

    /a/b/tax.data

  • RECEIVE_DIR=/a/b
    RECEIVE_OPTION=ROOT

    In this example, the directory name is defined in the RECEIVE_DIR and the RECEIVE_OPTION parameter is set to ROOT. As a result, both the defined directory name and file name in the LocalFileName parameter are appended to the directory defined by the RECEIVE_DIR parameter.

    If the LocalFileName parameter in the request is set as:

    /test/2008/accounting/tax.data

    The actual file name is expected to be:

    /a/b/test/2008/accounting/tax.data

  • RECEIVE_DIR=/a/b
    RECEIVE_OPTION=ROOT

    In this example, the directory name is defined in the RECEIVE_DIR parameter and the RECEIVE_OPTION parameter is set to ROOT. As a result, both the defined directory name and file name in the LocalFileName parameter are appended to the directory defined by the RECEIVE_DIR parameter.

    If the LocalFileName parameter in the request is set as:

    /test/2008/accounting/tax.data

    The actual file name is expected to be:

    /a/b/test/2008/accounting/tax.data