> 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/check/check-sftp-file-does-not-exist.md).

# Check SFTP File Does Not Exist

Check SFTP File Does Not Exist connects to an SFTP server and confirms a file is absent at the path you give. Use it after a delete or when an old export should be gone.

![Check SFTP file does not exist Test Step](https://app.does.qa/screenshots/node/check_sftp_fileNotExist.png)

## When to use it

* Confirm a temporary export was removed after processing.
* Verify a file name is free before an upload step runs.
* Pair with [Check SFTP File Exists](/test-steps/check/check-sftp-file-exists.md) on the branch where the file should appear.

## Configure

### Basics

| Field             | What to set                                                     |
| ----------------- | --------------------------------------------------------------- |
| **URL**           | SFTP server address (supports [Values](/values/value-store.md)) |
| **Port**          | `22` (default)                                                  |
| **User**          | SFTP username (supports Values)                                 |
| **Password**      | SFTP password (supports Values)                                 |
| **File Location** | Full path to the file on the server                             |

### Advanced

| Field                                 | What to set                                          |
| ------------------------------------- | ---------------------------------------------------- |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md) |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                  |

## Related

* [Check SFTP File Exists](/test-steps/check/check-sftp-file-exists.md)
* [Check SFTP File Count](/test-steps/check/check-sftp-file-count.md)
* [Check](/test-steps/check.md)

**Tags:** `check`, `sftp`, `fileNotExist`
