> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/integration/sftp-upload.md).

# SFTP Upload

SFTP Upload sends a generated file to a remote path. Use it after [Generate file](/test-steps/runner/generate-file.md) when the journey must land content on an SFTP host.

![SFTP Upload Test Step](https://app.does.qa/screenshots/node/integration_sftp_upload.png)

## When to use it

* Place a file the Flow just generated onto an SFTP server.
* Pair with [SFTP List](/test-steps/integration/sftp-list.md) or an SFTP Check when you need to confirm the upload.

## Example Flow

Generate the file, then upload it over SFTP.

![Generate file then SFTP Upload](/files/36DRQvOtlrmszi2qlV4J)

## Configure

### Connection

| Field        | What to set                                       |
| ------------ | ------------------------------------------------- |
| **URL**      | Host text and/or [Values](/values/value-store.md) |
| **Port**     | `22` by default                                   |
| **User**     | Username text and/or Values                       |
| **Password** | Password text and/or Values                       |

### Directory

| Field    | What to set                                                         |
| -------- | ------------------------------------------------------------------- |
| **Path** | Remote directory text and/or Values                                 |
| **File** | The [Generated File](/test-steps/runner/generate-file.md) to upload |

{% hint style="info" %}
**Pro tip:** Keep host, user, and path in Values so the same Flow can target staging and production SFTP endpoints.
{% endhint %}

## Related

* [Generate file](/test-steps/runner/generate-file.md)
* [SFTP List](/test-steps/integration/sftp-list.md)
* [Check SFTP file exists](/test-steps/check/check-sftp-file-exists.md)
* [Integration](/test-steps/integration.md)

**Tags:** `integration`, `sftp`, `upload`
