# FTP or sFTP Destination🚶‍♂️🚶‍♀️

Adloop sends and updates the exports in a folder available on a FTP server (port 21) or sFTP (port 22).

> The process and the fields to fill in are the same for FTP and sFTP. The only difference is that sFTP uses an encryption key to secure the data.

To allow Adloop to write in your FTP, you must connect it to Adloop with:

1. The server FTP address
2. Login and password
3. A folder name, if needed

## 1 - Allow Adloop to access your FTP

The connection process is just filling in the form boxes.

**Login and password** (sent by a system admin)

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-973b150c04a0160bef73a68ffa749349f9daa639%2Fimage-20220301-162020.png?alt=media)

**Host** : address of your FTP server

noteIt must look like this: [ftp.company.com](http://ftp.company.com)

> It must look like this: [ftp.company.com](http://ftp.company.com)

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-26bc36d139c4724e391fe3e57376efd1afc88b99%2Fimage-20220301-162041.png?alt=media) **Port** : fill in the desired FTP port

> 21 is the FTP default port / 22 is the sFTP default port You can use another port, sent by your system admin

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-5d252e74ac6a6eba41fb9b5a91e186c250912b49%2Fimage-20210520-140428.png?alt=media)

**Destination Folder** : indicate the folder in which the files will be dropped.

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-e0eef9467756be57f879bf8a54f07568a5802014%2Fimage-20220301-162111.png?alt=media)

## 2 - Submitting and checking the connection

By clicking on Submit, your connection will be checked according to your parameters.

In case the connection fails, you will have an alert:

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-c8cc487a38d174e5203bfca9ee267bffc0127a3c%2Fimage-20210520-140851.png?alt=media)

If the connection is OK, you just need to name this Destination and you are done!

Your FTP or sFTP destination will now appear in your destinations list.


---

# 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://community.commandersact.com/adloop/v-exports-center/export-destinations/ftp-or-sftp-destination.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.
