# Downloading files from your node

## Using the secure file transfer protocol (SFTP)

An easy way to extract (i.e. download) files from your validator node onto your working laptop is to make use of SFTP - an extension of the SSH protocol.

To connect your working laptop to your validator node via SFTP, run:

```sh
sftp -P <port> -i <ssh_key_filepath> <user>@<IP_address>
```

{% hint style="info" %}
Note the difference in order and capitalisation of the port (-P) and identity (-i) flags from the SSH syntax.
{% endhint %}

Once you are connected, you will now be in the home folder of your validator node and you can then download your desired file by running:

**If file is in home folder:**

```
get <file_name>
```

**If file is in other folders:**

```
get <full_file_path>
```


---

# 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://dvt-homestaker.stakesaurus.com/tips/downloading-files-from-your-node.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.
