---
description: Automation procedures for downloading files from a server using SFTP.
---

# Downloading Files using SFTP

### Downloading a File

To download a file using SFTP server, use the following syntax:

```markdown
connect to sftp with
    the host is "sftp.example.com"
    the port is 22
    the username is "user"
    the password is "password"
get a file from sftp with
    the remote path is "/path/to/remote/file.txt"
```
