Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 File Masks : FTP and FILE Outbound File Name Masks

FTP and FILE Outbound File Name Masks
Use outbound file name masks to control how TIBCO BusinessConnect names outbound files sent using FTP and FILE transport. The mask option is available in the Transports tab for each trading partner.
See "FTP Outboundand FILE Outbound"TIBCO BusinessConnect Trading Partner Administration Guide.
If you leave the file mask field blank, TIBCO BusinessConnect constructs the file name according to the following rules:
When acknowledgment files are sent outbound from a Responder, the files are named tpName-GUID.ack.(1 or 2).response or tpName-GUID-TimeStamp.ack.response. The suffix number depends on the number of acknowledgments.
File Name Mask Examples
If the trading partner’s name is receiver, and the host’s name is sender, to generate an outbound file called receiver.sender.12202002-TIBCO.edi on December 20, 2002, enter the following mask in the Output File Mask field:
#(TpName).#(HostName).#(MMDDYYYY)-TIBCO.edi
If the trading partner’s name is receiver, to generate an outbound file named receiver-12202004-12000003.edi on December 20, 2004 at 12:00:00.03, specify the mask #(TpName)-(#MMDDYYYY)-#(HHMISSNNN).edi.
File Name Mask Syntax
You can use an asterisk (*) in an outbound FILE mask. If a wild card (*) is used in a File or in a FTP-Put outbound file mask, the outbound document will be sent as hostname-GUID.
Masking applies only to file names. It does not apply to any directory name in the FTP or FILE URL. For example, if the FTP or FILE URL is /local/tibco/bc/#(TPNAME)/REQUEST/, and /local/tibco/bc/SELLER-AXNT15/REQUEST/ exists, FILE naming would fail.
Table 6 lists the mask syntax supported for FTP and FILE outbound.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved