--- title: "File names, file patterns, paths, placeholders" slug: "intro-concepts-files-names-patterns" updated: 2026-08-03T12:06:06Z published: 2026-08-03T12:06:06Z canonical: "docs.lobstersoftware.com/intro-concepts-files-names-patterns" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # File names, file patterns, paths, placeholders ## UNC Paths UNC paths are only allowed in Phase 1 (Input agent "File") and Phase 6 (Response "File"). Hidden shares are not allowed, furthermore the use of UNC paths is not supported for file events and in postexecuter classes. Please do not use UNC paths in any other place. See [External shares](/v1/docs/en/intro-external-systems-external-shares). Please also note that virus scanners on the machine providing shares can cause problems regarding access to these remote files. This is not a problem of the software itself, but can then show up as an error there. ## Input (Phase 1) ### Variables and system constants (in file name patterns, in Phase 1) The content of [Variables with prefix MSG_CALL_](/v1/docs/en/intro-concepts-profile-variables-msg-call) can be referenced in file names with the placeholder *@MSG_CALL_VAR_NAME@*. For [System constants](/v1/docs/en/intro-concepts-system-constants), however, use the placeholder *%CONST_NAME%*. **NOTE:** This analogously applies to other fields (e.g. for directories) where you see the symbol ***%***. This button also displays a selection list. ### Placeholders (in file name patterns, in Phase 1) In file patterns, an asterisk *** can be used as a wildcard. The asterisk stands for 0-n arbitrary characters. So the file pattern *XY** accepts all files whose names begin with *XY*. The most commonly used operating system is Windows, so the file pattern processing has been aligned with Windows' file pattern processing. For example, in Windows the command *dir XY *.** provides all files starting with *XY*, even if the files do not contain a dot. The placeholders for the current date and/or time are allowed in file patterns (see above). If the file pattern is *.txt* and the current date is *23.04.2017*, then all files with names ending with *2017-04-23.txt* will be accepted. ### Regular expressions (as file name pattern, in Phase 1) If the file pattern begins with the prefix "regex:", it will be interpreted as a regular expression. But this is only useful when accessing a file system, because FTP servers, for example, do not support regular expressions. For multiple regular expressions see next paragraph. All files that do not end with "txt" (in any lowercase and uppercase combination), could, for example, be described with the following regular expression. | .*\.(?!(([tT][xX][tT])$)).* | | --- | ### Multiple file patterns (in Phase 1) In some cases, it is possible to specify multiple file patterns. To do so, the file patterns are separated with the pipe character (|). So the file pattern **.csv|*.txt* accepts all files ending in .*csv* and .*txt*. > [!CAUTION] > **CAUTION****:** > > If multiple file patterns are allowed, then obviously the delimiter must not appear in the file pattern itself, even if only a single file pattern is specified. This also applies to regular expressions specified with prefix *regex:.* You can avoid this by using prefix *regex2:* instead. The pipe character will then be interpreted as part of the regular expression, which also means that only a single regular expression can be specified. ## Output (Phase 6) ### Variables and system constants (in file names, in Phase 6) The content of all [Variables](/v1/docs/en/intro-concepts-variables) can be used with the placeholder *@VAR_NAME@* in file names. **NOTE:** All entries *@xxx@* (e.g. for file names, subjects, paths, etc.) are trimmed individually. *{--@xxx@--}* or entries in angle brackets (for example, **) are not trimmed. Only one of the notations can be used, depending on the location For system constants, however, use the placeholder *%CONST_NAME%*. **IMPORTANT:** If you use the placeholder *%yyyyMMdd_HHmmss_COUNTER%*, it will be resolved to *
__* (see following section). The number range placeholder ** will only be resolved correctly if ** is already used somewhere else in the response (e.g. in the base file name, see [Phase 6](/v1/docs/en/profiles--entry-tab-6))! **NOTE:** This analogously applies to other fields (e.g. for directories) where you see the symbol ***%***. This button also displays a selection list. ### Placeholders (in file names, in Phase 6) File names can be generated using placeholders. The placeholders are filled at runtime. The following placeholders are allowed. | Placeholder | Description | | --- | --- | | | Returns a sequential number of an internal [Number ranges](/v1/docs/en/core-number-range) that is unique to this Profile. | | | Placeholder for the year (4 digits). | | | Placeholder for the year (2 digits). | | | Placeholder for the month (2 digits). | | | Placeholder for the calendar week. | |
| Placeholder for the day of the month (2 digits). | | | Placeholder for the hour (2 digits, 12 hours). | | | Placeholder for the hour (2 digits, 24 hours). | | | Placeholder for minutes (2 digits). | | | Placeholder for the seconds (2 digits). | | | Placeholder for milliseconds (1 digit). | | | Placeholder for the input file name with file extension. | | | Placeholder for the input file name without file extension. | | | Base file name from the general settings in the response. Of course, this does not work for the base file name field itself. | | | Number of lines in the output file. Can be used for the output formats "CSV", "Excel" and "Fixrecord". **NOTE:** If in a response the content is set to "as received", the value for will not be set correctly. Instead, the system variable VAR_SYS_LINES (see [System variables](/v1/docs/en/intro-concepts-system-variables)) can be used. | | | Name of an ASM entry. See [Execution](/v1/docs/en/mod-asm--entry-tab-3). | | | The job number of an executed ASM entry. See section "ASM execution". | **Examples:** | .txt | Input file name with an attached number from the profile's internal number range and file extension ".txt". | | --- | --- | | | Input file name with an attached (at least) 4-digit number of the profile's internal number range. | |
_ | 8-digit date with an attached number from the profile number range, separated by an underscore. | ### Paths (in Phase 6) In some fields, a file name including the path must be entered. The following should be noted. - You should always use a slash*/*and not a backslash *\*. The separator is converted at runtime, depending on the underlying operating system. - Absolute paths should always be started with a leading slash */*. In this case, the corresponding mount point above the installation directory of the Integration Server is looked for (for example *C:* or *D:* under Windows or */applications* under Linux/Unix). If the directory structure is created appropriately, profiles can also be exchanged between different operating systems. - Relative paths (path information relative to the installation directory of the Integration Server) can be addressed using *./* (note the dot before the slash). This solution also allows a simple exchange of profiles between different operating systems, given a suitable choice of the directory structure. Input: An input agent receives the data. It can work either as event based (e.g. FTP upload) or scheduled (cron). The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). Responses: The profile stores the source data or sends it, for example, via FTP, HTTP, or e-mail. The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The Integration Server is the central runtime component of the Lobster Data Platform. It executes integration processes and processes data. The Integration Server stores local certificates and uses their private keys for signing and decryption. It provides all communication services (e.g., FTP, SMTP, HTTP) and connects the application to the database. It is managed via the Admin console.