> For the complete documentation index, see [llms.txt](https://help.docupilot.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.docupilot.app/deliveries/sftp.md).

# SFTP

Securely upload generated documents to your documents to your File Server

To start with a SFTP delivery, choose the `SFTP` option from the list of deliveries available in the `Deliveries` tab.

## Configuration

<figure><img src="https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FJ4pnX15mfWNlwPB8BbL9%2FScreenshot%202025-04-25%20at%2011.02.27%E2%80%AFPM.png?alt=media&amp;token=532830ca-c76c-4f9d-9224-8b8c8f3fdaf2" alt=""><figcaption></figcaption></figure>

**Name:** Enter a name for your delivery configuration. This helps you identify the delivery setup, for example, "Upload to Team folder."

**Select Account:** Select the SFTP account you wish to use for the delivery. This will determine which SFTP server the files will be uploaded to. If no accounts are available, you can connect an SFTP account by clicking the link icon or add one by navigating to **Settings > Linked Accounts**.

**Folder:** Configure folder path to which the generated files needs to be uploaded. The folder path can be dynamic. For example, to upload customer contracts under a folder that includes customer's name, you can configure **Folder** as `Agreements/{{CustomerName}}`

Now when a contract is generated for CustomerName `AcmeCorp`, it will be uploaded to `Agreements/AcmeCorp`

#### **Advanced Settings**

If you like to get notified on delivery errors, or on successful execution of deliveries, configure advanced settings to take advantage of integrations. Following advanced integration options are available:

* **On Success Callback URL**\
  Configure a Web-hook URL which will be invoked with data containing the folder path to which the file was uploaded. To configure additional settings for callback URL like setting custom Headers and Additional Payload use the **Advanced Configuration** section.
* **Emails to Notify on Delivery Failure**\
  Failed deliveries are typically notified to the workspace owner, workspace admins and workspace managers via email. You can configure additional email IDs here to receive notifications on delivery failures.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.docupilot.app/deliveries/sftp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
