# FTP Protocol

Click the **New** button and in the **New server** panel select the FTP protocol.&#x20;

These fields will appear allowing you to enter the settings for the server:

* **Name (\*)**: assign a name to the server you are creating; it will appear in the server card or row.
* **Port (\*)**: enter the port to connect to the server. If the port is already in use, Data Mover Smart displays a list of available alternative ports that you can select.
* **DMZ**: activate the DMZ toggle to use the DMZ, choose Port Forwarding mode and specify the port. This will add a new entry in the DMZ → [Servers](/data-mover-smart/services/dmz.md#servers) panel.
* **Description**: enter a description of the server.
* **VFS (\*)**: select the VFS that will be accessible through the FTP protocol.
* **Port range min and max value**: enter the range for the ports the server will listen to.
* **Active data connection local address**: enter the local address for active data connection.
* **Passive external address**: this field must be filled in only if **Operation mode** is set to PASSIVE and will contain the address used for passive connections. If the server is behind NAT, insert the external IP address.
* **Max session**: specify the maximum number of active sessions. Default value: 10.
* **Connection timeout (in seconds)**: define the number of seconds without network activity to wait before closing a session due to inactivity. Default value: 60.
* **Active data conn local outport**: if the **Operation mode** is set to ACTIVE, enter the port the client must connect to.
* **Operation mode**: set tow data connection is established. Possible values:&#x20;
  * **ACTIVE**: the client will establish a control connection to the server and the server will establish a data connection back to the client.
  * **PASSIVE** (default value): the client will establish both a control connection and a data connection to the server.
* **Attributes**: this section allows you to configure the SFTP server banner. A default text is provided, but you can edit it by clicking the 3-dot menu and selecting **Edit**. This opens the **Edit Attribute** window, where you can modify the text in the **Body (\*)** field. The **Name** and **Description** fields cannot be modified.\
  The default banner text is:&#x20;

  <pre data-overflow="wrap"><code>WARNING: This is a restricted system. Access is allowed only to authorized users.
  __
  All activities on this SFTP server are monitored and logged in accordance with company policies and applicable regulations.
  __
  Unauthorized access, use, or modification is strictly prohibited and may result in disciplinary actions and legal consequences.
  __
  By continuing, you acknowledge and accept these conditions.
  </code></pre>

{% hint style="warning" %}
With WinSCP, in *Preferences* you must set the **“Enable transfer resume/transfer to temporary filename for”** option to **Disable**.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-smart/services/servers/ftp-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
