> 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/deletefile.md).

# DELETEFILE

Deletes a file on the nedyx server.

#### Syntax

**DELETEFILE**(*internalFileName*)

* *internalFileName* - the name of the file to be deleted - ***Value type**: Text*

**Remarks**

* A list of file names can also be specified as *internalFileName*. These files are then deleted one after the other on the nedyx server.
* The function returns !ERROR if there is no file with the name *internalFileName*.

#### Examples

Here, the "Delete file" button deletes the file with the internal file name from the internalFileName field on the nedyx server:

<div align="left"><figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-287c444b230d9c8e78b26fd9c618c9ca5a6b4332%2Fspaces_qZ1Ljfx89xXslsVtuQIM_uploads_qmRcnELynO84ZPVC6MNa_grafik.webp?alt=media" alt=""><figcaption></figcaption></figure></div>
