# SFTP (SSH File Transfer Protocol)

## About

SFTP is a network protocol that allows users to execute file transfer, file access, and file management on any reliable data stream over the Internet.

## Setup Guide

Stepwise guide to connecting SFTP to your Daton account.

#### **Prerequisites** <a href="#prerequisites" id="prerequisites"></a>

* An existing Daton account.
* An SFTP server with valid files (CSV, and TXT).

#### Stepwise Instructions to Integrate SFTP with Daton <a href="#stepwise-instructions-to-integrate-shopify-with-daton" id="stepwise-instructions-to-integrate-shopify-with-daton"></a>

#### Integrate SFTP in Daton

1. [Sign in](https://daton.sarasanalytics.com/login) to your existing Daton account.&#x20;
2. Search for SFTP in the list of Connectors and click on the **'Configure'** button.<br>

   <figure><img src="/files/pCpNTv5jBP5ieKYhF5Cr" alt=""><figcaption></figcaption></figure>
3. Provide the necessary **Integration Name** and **Replication Frequency** data and click on the **'Authenticate'** button.\
   \&#xNAN;*Please Note, the **Integration Name** would be used in creating tables for the integration and cannot be changed later.* <br>

   <figure><img src="/files/ecaaTrTsRmcu0pLUAI0N" alt=""><figcaption></figcaption></figure>
4. Provide an accurate **Hostname, Port number, Username,** and **Password** of the location where the file is stored on your server, then click on the **'Next'** button.

   <figure><img src="/files/p8OtqOFi1FMbRKGk8Chb" alt=""><figcaption></figcaption></figure>
5. In the next step, provide your **Folder Name** (File path), **File Type** (CSV/TXT) and define the row number for the **Header** and click on the 'Submit' button.

   <figure><img src="/files/jcI8H01ny1vukvsTOHFM" alt=""><figcaption></figcaption></figure>
6. You will receive a prompt saying your Integration was successful.

   <figure><img src="/files/EDGx3WLltFoRZ02DpSfs" alt=""><figcaption></figcaption></figure>

   Congrats! Your SFTP file has been integrated with Daton.

### Workflow

1. Integrations would be in the Pending state initially and will be moved to the **Active state as soon as the first job loads data** successfully onto the configured warehouse.
2. Users can **Re-Authenticate, Edit, Clone, Pause or Delete** the integration at any given time by clicking on the settings. Users can also edit the integration to **change frequency and history.**
3. Users can **view job status and process logs** from the integration details page by clicking on the integration name from the active list.
4. Files to be processed would be identified with the modified dates of files. \
   \&#xNAN;*If a few records in an existing file get updated, then the entire file would be processed again.*
5. Files present in subfolders from the selected location would not be processed.
6. If new fields are to be added to the files, users must append them to the file, and edit the existing integration in Daton by appending the additional fields for the integration. \
   \&#xNAN;*Daton doesn't support intermittent field additions to a file.*


---

# 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://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/files/sftp-ssh-file-transfer-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.
