# DELETEFILE

#### 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://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-287c444b230d9c8e78b26fd9c618c9ca5a6b4332%2Fspaces_qZ1Ljfx89xXslsVtuQIM_uploads_qmRcnELynO84ZPVC6MNa_grafik.webp?alt=media" alt=""><figcaption></figcaption></figure></div>
