> For the complete documentation index, see [llms.txt](https://docs.linuxcontrolcenter.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linuxcontrolcenter.com.br/en/host-actions/file-download.md).

# File Download

## Requirements

Linux Control Center = 2.10.X or higher

## Overview

The File Download action is used to download any file on a Host from a URL.

The LCC will connect to the Host via SSH, download it from the Link provided and save the file in the directory specified when executing the action in the Console. The entire process will be managed automatically by the LCC, regardless of the number of Hosts or Links registered.

## Objective

This document aims to demonstrate how the **File Download** Action works

## Downloading Files on Hosts

{% hint style="warning" %}
**Note:** The URL must include the file to be downloaded, because the File Download action performs a standard GET request. If the link does not point directly to the final file, the download will not be completed successfully.
{% endhint %}

1. Access the **Hosts** screen.

   ![](/files/kLRZy7Wmwcn7AYdWfqAw)
2. Click on **Actions** in the row and a desired Host and click on **File Donwload**.

   ![](/files/KexLAZmX9KJZCagYTNWS)
3. To run on multiple Hosts simultaneously, select the desired Hosts and click on **Actions** at the top of the page and click on **File Download**.

   ![](/files/wm9Hd709C4oufruSVi1x)
4. Fill in the fields as follows;

* **URL**: URL to download the file<br>
* **Destination Directory:** Full directory where the file will be saved. Ex: /tmp/

  ![](/files/1PR1fzP2UD5lo5RCLQkM)

1. If you want to download more than one file simultaneously, click the **Add More URL and Destination** button and repeat the previous step with other values.

   ![](/files/EVPLbmDj5x1CXXBDZNuu)
2. Click **Save** after filling in the information correctly.

   ![](/files/MzlQYZSVhde9M54n3eXT)
3. Click the **Queue Working** button at the top of the page to monitor the execution of the action.

* **Note:** An independent **File Download** Action will be created for each Host if it is executed on more than one Host simultaneously.

  ![](/files/WqrTeFnYxrqUpYwCBe9Q)
