> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/import-export-functions/downloadfile.md).

# DOWNLOADFILE

Downloads a file to the local client computer.

#### Syntax <a href="#syntax.15" id="syntax.15"></a>

**DOWNLOADFILE**(*fileName*)

* *internalFileName* - the name under which the file is stored on the nedyx server - ***Value type**: text*
* *fileName* - the name of the downloaded file - ***Value type**: text*

#### Remarks <a href="#examples.1" id="examples.1"></a>

* Calling this function uses the standard download processing of the browser to store the file on the local computer.&#x20;

#### Example <a href="#examples.1" id="examples.1"></a>

Clicking on the DOWNLOADFILE button downloads the file which is stored on the nedyx server with the name *internalFileName*. The file is saved on the local machine with the name *fileName*.&#x20;

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/Zi1G3VhXr62WT2kkJZaN/grafik.png" alt="" width="561"><figcaption></figcaption></figure></div>
