# Datei herunterladen

Mit dem Plugin <img src="/files/TVZoeQyDfZns6BxCcF8O" alt="" data-size="line"> *Datei herunterladen* können Sie eine via URL referenzierte Datei herunterladen. Es werden die Protokolle HTTP, HTTPS, FTP, FTPS und SFTP unterstützt.

<figure><img src="/files/qQOhOSAd5QfwKJxHS5Wg" alt="" width="293"><figcaption></figcaption></figure>

## Parameter "URL"

Wählen Sie aus dieser Auswahlbox eine Variable vom Typ `url` aus. Die URL sollte auf die Datei verweisen, die Sie herunterladen möchten. Als Protokoll kann verwendet werden:

* `HTTP`
* `HTTPS`
* `FTP`
* `FTPS`
* `SFTP`

`SFTP` ist nur mit Benutzername und Passwort möglich. Die Authentifizierung mittels Zertifikat wird nicht unterstützt.

### Beispiel URLs

* `https://example.com/document1.pdf`
* `ftps://username:password@ftp.example.com/document1.pdf`
* `sftp://username:password@ftp.exampel.com/document1.pdf`

## Parameter "Authentifizierung"

Ist der Download durch ein OAuth Bearer Token geschützt, können Sie in der Auswahlbox eine API auswählen, deren OAuth-Authentifizierungsmechanismus für den Download genutzt wird.

## Parameter "Datei"

Wählen Sie eine Variable vom Typ `file` aus dieser Auswahlbox aus, in der die heruntergeladene Datei gespeichert werden soll.


---

# 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://help.aiaibot.com/robot/plugins/web/datei-herunterladen.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.
