> 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.66/nedyx/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.

#### 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="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-ccadcf976992d154a5d810d36a24ec91e955286c%2Fgrafik.png?alt=media" alt="" width="561"><figcaption></figcaption></figure></div>
