# Configuring FTP connections

## Introduction

The Patchworks FTP connector is used to work with data via files on FTP servers in process flows. You might work purely in the FTP environment (for example, copying/moving files between locations), or you might sync data from FTP files into other connectors, or you might use a combination of both! For example, a process flow might be designed to:

1. Pull files from an FTP server&#x20;
2. Use the data in those files as the payload for subsequent processing (e.g. sync to Shopify)
3. Move files to a different FTP server location

This guide explains the basics of configuring a connection shape with an FTP connector.

## About the Patchworks FTP connector

When you add a connection shape and select an FTP connector, you will see that two endpoints are available:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FFl2SHhjzAJukpzN6MPP3%2Fftp1.png?alt=media&#x26;token=731a8beb-a6de-41cd-a24e-cd454252732c" alt="" width="375"><figcaption></figcaption></figure></div>

Here:

* `FTP GET` is used to retrieve files from the given server (i.e. to **receive** data)
* `FTP PUT` is used to add/update files on the given server (i.e. to **send** data)

## Configuring FTP endpoints

Having selected either of the two FTP endpoints, configuration options are displayed. The same options are used for both endpoints but in a different sequence, reflecting usage:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FKahE92WzWDy4egdVuuCP%2Fftp%20connector%201.png?alt=media&#x26;token=ec475a3b-8e54-459b-a18d-35d4edfc5be1" alt=""><figcaption></figcaption></figure></div>

For information about these fields please see our [Configuring SFTP connections](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/connector-shape/configuring-sftp-connections) page - details are the same.
