> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/connectors/sftp-connector.md).

# SFTP Connector

SFTP stands for Secure File Transfer Protocol, a protocol designed for exchanging files between host and destination in an encrypted form. It is an extension of the File Transfer Protocol (FTP) with the addition of a security mechanism. Through this, users can exchange data between other connectors in Langstack and the SFTP server.

## Create an SFTP Connector

The SFTP Connector falls under the File System Connector. To create an SFTP connector, follow the usual steps to create a connector as mentioned in [Create a connector](/welcome/get-started/learn-langstack/connectors/create-a-connector.md). For SFTP-specific details, proceed as follows:

* To define the FTP/SFTP connector, select “FTP/SFTP” from the list.

![](/files/YNytrd4IGv8T99ZQmewk)

* The FTP/SFTP details are displayed with Authentication type as “Basic”.
  1. Add the following details under the Server section:&#x20;
     * “Host name”: Enter the server details of the host.&#x20;
     * Port number”: By default, Langstack applications prefill it with the default SFTP port 22. However, users can change the port number as needed.
  2. Add the following details under the Credentials section:&#x20;
     * “Username”: Enter username for the connector.&#x20;
     * “Password”: Enter password for the connector.
  3. Select the following information under the Type section:&#x20;
     * “FTP” or
     * “SFTP”: SFTP is selected by default.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8ftpconnlabelled.png>" %}

* Save and test the connection as described in [Create a connector](/welcome/get-started/learn-langstack/connectors/create-a-connector.md) section.
