--- title: "DirectoryToPdfContainerPostExecuter" slug: "directory-to-pdf-container-post-executer" updated: 2026-08-18T11:44:09Z published: 2026-08-18T11:44:09Z canonical: "docs.lobstersoftware.com/directory-to-pdf-container-post-executer" --- > ## 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. # DirectoryToPdfContainerPostExecuter | **Class name** | com.ebd.hub.datawizard.postexec.DirectoryToPdfContainerPostExecuter | | --- | --- | ## Description This postexecuter can be used to create a PDF/A container file from several files in a directory (containing all files). Alternatively, if the individual files are PDF files, a single PDF file can be created from these (→ see parameter "*merge"*). The content settings of the Response are ignored when this postexecuter is used, i.e. only the created container file is returned to the response. ## Parameters The postexecuter is configured via a string in field *Config* *file* with the following parameters (separated by semicolons). | Parameter | Description | | --- | --- | | folder | Path of the directory with the files. | | deleteSource | (optional) Specifies whether the directory and the files it contains should be deleted afterwards or not. Default: "*true".* | | sortAsc | (optional) Specifies whether the files are to be sorted in ascending ("*true"*) or descending ("*false"*) order in the container. Default: "*true".* | | firstFile | (optional) **Only has an effect if the individual files are PDF files and parameter "merge=*true"*.** File name to specify which file is inserted first when merging. The sorting setting applies to the subsequent files. Default: "*null"*. | | merge | (optional) **Only has an effect if the individual files are PDF files.** If *true*, a large PDF file is created. If *false*, the container only contains the individual files. Default: *false*. | Formal structure: | ;[];[];[];[] | | --- | The only mandatory parameter is the path of the directory where the files are located (*folder*). As usual, variables can also be used here (with *@VARNAME@*). **Examples:** | ./temp/files/ ./temp/files/;false;false;file1.txt;true | | --- | 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.