---
title: ".WriteFile (.ftpsclient Objektmethode)"
---
[TOC]

#### Beschreibung

Uploads a blob to the FTPS server under the specified filename in the current directory.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 701px);"><colgroup><col style="width: 18.6%"><col style="width: 10.2%"><col style="width: 71.2%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>Filename</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>name of the file to download from the current directory</p></td></tr><tr><td><p>Data</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/blob/"><u>blob</u></a></p></td><td><p>file content to upload</p></td></tr></table>

#### Rückgabewert [<u>integer</u>](../../../standard-datentypen/integer.md)

number of bytes written, 0 on failure

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
