# FTP Key

One of the most popular connections is FTP or sFTP, a method normally used for exchanging files between servers. This is often used where companies require CSV, XML or JSON files to be deposited or collected from specified servers at certain times.&#x20;

Adding a FTP connection to HighCohesion is simple, you will require the following details about the FTP server that is being connected to:

* **Host / Address**\
  This can be either a fully qualified domain name e.g. ftp.highcohesion.com or an IP address e.g. 192.168.2.1
* **Username**\
  The username required to connect.
* **Password**\
  The password required to connect.
* **Port**\
  The port required to connect, please note that the default port for FTP is 21 and the default port for sFTP is 22.
* **Passive**\
  This is a `true / false` option, allows a passive connection setting to be activated.&#x20;
* **Remote Path**\
  This is an optional setting that allows a base path for your connection to be set. For example `/export/orders/`

{% hint style="info" %}
Please note that the Remote Path setting can be overridden and not appended to in Source/Destination and Stream settings.&#x20;
{% 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.highcohesion.com/get-started/creating-your-first-stream/step-1-creating-your-source-and-destination-system-keys/ftp-key.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.
