--- title: "FTP/FTPS (Input agent)" slug: "profiles--entry-tab-2-ftp" updated: 2026-09-14T13:46:44Z published: 2026-09-14T13:46:44Z canonical: "docs.lobstersoftware.com/profiles--entry-tab-2-ftp" --- > ## 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. # FTP/FTPS (Input agent) The Integration Server can act as an FTP server. The **FTP/FTPS** Input agent then accepts files from FTP users and starts a Profile. An input agent is the component that makes a profile react to an incoming event. This article describes the settings of the input agent and how it works. The address of the FTP server follows this pattern. ```plaintext ftp(s):// ``` ## Assigning a file to a profile Lobster checks every file uploaded via FTP. The check decides whether the file matches a profile. A profile matches under three conditions: - The user matches the entry in the profile. - The directory matches the entry in the profile. - The file pattern matches. If a profile matches, Lobster starts a job. If several profiles can accept a message, the [Profile scoring](/v1/docs/en/intro-profiles-phase-1-profile-scoring) decides. This input agent can check the maximum size of the input files. See [Maximum size of input files and messages](/v1/docs/en/intro-profiles-phase-1-max-size-input). The system variable `VAR_SENDER` contains the name of the FTP user. See [System variables](/v1/docs/en/intro-concepts-system-variables). ## Settings ![Settings of the FTP/FTPS input agent, numbered 1 to 6](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-1785399128835.png) | Field or option | Description | | --- | --- | | **File pattern** | Defines the pattern for the file name. Separate multiple patterns with the pipe character `\|`. Example: `*.txt\|*.csv`. | | **Only for sub folder** | Restricts the Response to a specific directory. The profile then only considers files from this directory that match the file pattern. The directory can contain the placeholder `$USER$`. Lobster replaces this placeholder with the login ID. This lets you map `/data/$USER$/somefolder`, for example. | | **Process received data on logout** | Starts processing the data only after the respective user logs out. See also the system variable `VAR_SYS_LASTINBULK`. | | **Accept empty files** | Accepts empty files with 0 bytes. **IMPORTANT:** For empty files to reach the input agent at all, the system property `hub.datawizard.acceptEmptyFtpFiles` must have the value `true`. | | List on the left | Shows all FTP channels that are defined and active in the system. Use the arrow buttons in the middle to move a channel to the list on the right. | | **Selected partner channels** | Contains all selected and active FTP channels. Select at least one channel. | ## How the input agent works ![Diagram of how the FTP input agent works, with FTP connections, directories, and the job queue](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/FTP_2-version-1-modificationdate-1747903722723-api-v2.png) The FTP server provides a maximum number of FTP connections. FTP users store files in the assigned directories over these connections. After a file is stored or renamed successfully, Lobster immediately checks whether a profile should process the file. If a profile matches, Lobster places a job in the job queue. The job queue is normally empty, and processing starts immediately. Lobster then saves the file as a job backup and deletes the original file. ## Timing behavior The following figure shows the timing behavior of a transfer. ![Timeline of an FTP transfer with the three points transfer start, backup, and deletion of the file](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/FTP_3-version-1-modificationdate-1747903722724-api-v2.png) | No. | Step | | --- | --- | | 1 | The transfer of the first file starts. | | 2 | The transfer is successful. Lobster creates a backup immediately and starts analyzing the source data. | | 3 | After the backup, Lobster deletes the stored file. The file is therefore visible in the directory only briefly. | Lobster processes the different FTP connections in parallel. This creates a limitation for clients that check whether the files exist after storing them: by the time the `get` command arrives, Lobster has usually already deleted the files from the FTP directory. ## Operation and shutdown **NOTE:** If a DMZ server is in use, you can use the user management of the DMZ server. FTP users can still be logged on when the Integration Server shuts down. The Integration Server normally ends these sessions after an adjustable waiting time. It then shuts down the FTP service. Use the `stopServices` option to control this behavior. If the option is active, the FTP service ignores the maximum waiting time. The option also applies to the SMTP service. The following listing shows the option. It is located in the configuration file `./etc/startup.xml` in section `com.ebd.hub.datawizard.app.DataWizard`. By default, this entry is commented out. ```xml false ``` 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. 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). 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 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. An optional security layer between the internet and the Integration Server. The DMZ receives incoming traffic, forwards it in a controlled manner, and protects the internal system from direct external access. When the Integration Server restarts, it buffers incoming requests.