> 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/nedyx/clearlines-functions/import-export-functions/downloadfile.md).

# DOWNLOADFILE

#### 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.

#### 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*.

<div align="left"><figure><img src="/files/cecxVRBJjOSFlNePp7sY" alt="" width="561"><figcaption></figcaption></figure></div>
