New directory

On this page, you specify a directory, to which both BL Banking Web and the external system that stores files here, must have access, but not the users of BL Banking Web. This prevents unauthorized access to the files.

From the drop-down list Bank, you can select one of the banks that are configured in BL Banking Web. Files displayed on the page Orders - Files to transfer will then be sent to this bank after signing. The same also applies accordingly to the field Order type at the bottom. This determines the order type, which is used to send the files to the bank. You can also enter a BTF, e.g. SCT_pain.001 or, with a click on the button next to the field, open a dialog box where you can configure the BTF. This may be necessary if your bank uses a different BTF than the one specified here. More information about BTFs can be found in the appendix under Order types.

Enter the path to the directory, where the files will be placed, in the field Directory. Both BL Banking Web and the external system must have write access to the directory and be able to connect to it directly or via the network. If the directory does not yet exist, it is newly created, provided that BL Banking Web has write access at this point.
Examples for Windows: C:\blbankingweb\data\files or X:\blbweb\files oder \\server\erp\files

With Filename mask you can filter files from the directory, whose names match to a certain pattern. By entering an asterisk (*) all files will be filtered. If, for example, you enter *.CCT here, only files, whose names end with .CCT are displayed on the page Files to transfer. It is advisable to enter a mask suitable for the order type selected below, in order to prevent files from being displayed multiple times. Otherwise, it would be possible that files would be sent to the bank with the wrong order type.

If you use the same directory for several banks and the same order types, a file extension or name addition corresponding to the order type is not sufficient. In this case, the external systems must provide their files with a unique identifier in the file name for each target bank. Several filter criteria can be combined in the Filename mask field, such as the beginning of the name with the file extension .CCT in SK*.CCT. The asterisk in between is a placeholder for any character string and is to be used wherever there are other characters in the file name. The asterisk is also a placeholder for any file extension, with a leading dot .*.

Automatically filter files by order type

To filter all files by order type and send them to the bank with the respective order type, you can use the regular expression $(ORDERTYPE). One filename mask is sufficient, you do not need different ones for each order type. In this case, the order type field remains empty. Combined with an identifier for the bank, one file mask is enough to filter all files correctly.
Example 1:
The files for bank 1 start with the identifier SK1 and end with a three-digit order type.
Five different order types are to be sent to the bank.
The filename mask is as follows: SK1*$(ORDERTYPE)*.*.
Example 2:
The files for bank 2 start with the order type as BTF, i.e. they are different lengths, followed by the SK2 indicator and any other characters.
The filename mask is as follows: $(ORDERTYPE)*SK2*.*.

You have to define a common directory for all banks with a corresponding file name mask. It is advisable to check the effect of a new or changed directory definition as soon as files are in the send directory. Only unique filters prevent files from being displayed more than once and sent to the wrong bank.

Optionally, you can specify an Archive directory. Files are moved there, as soon as they have been signed on the on the page Files to transfer. If you leave this field empty, the files will be deleted from the directory that you specified above, after they have been signed. Only BL Banking Web must have write access to the archive directory, but not the external system.

Figure: Form for entering a directory for files to send