# DELETEFILE

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

**DELETEFILE**(*internalFileName*)

* *internalFileName* - der Name der Datei, die gelöscht werden soll - ***Wertetyp**: Text*

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

* Als *internalFileName* kann auch eine Liste mit Dateinamen angegeben werden. Diese Dateien werden dann nacheinander auf dem nedyx Server gelöscht.&#x20;
* Die Funktion gibt !ERROR zurück, wenn es keine Datei mit dem Namen *internalFileName* gibt.

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

Hier löscht das Schaltfeld "Delete file" die Datei mit dem internen Dateinamen aus dem Feld internalFileName vom nedyx Server:

<div align="left"><figure><img src="/files/Z6z6bQIGMzDPI2pq2XKq" alt=""><figcaption></figcaption></figure></div>

Hier werden 4 Dateien mit einem Aufruf von DELETEFILE vom nedyx Server gelöscht:

<div align="left"><figure><img src="/files/fC8nNqK6qQ7TEuuFr8Ih" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.66-de/clearlines-funktionen/import-export-funktionen/deletefile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
