---
title: "WriteFTPSFile (Opus Funktion)"
---
[TOC]

#### Beschreibung

Uploads a blob to an FTPS server under the specified path and filename using TLS encryption.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 616px);"><colgroup><col style="width: 21.7%"><col style="width: 18.2%"><col style="width: 60.1%"></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> Server</p></td><td><p> <a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p> hostname or IP address of the FTPS server</p></td></tr><tr><td><p>UserName</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>FTPS login name</p></td></tr><tr><td><p>Password</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a> <a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/sealed/">sealed</a></p></td><td><p>FTPS login password (sealed)</p></td></tr><tr><td><p>Path</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>remote directory path to change into before writing</p></td></tr><tr><td><p>Filename</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>name under which the file is stored on the server</p></td></tr><tr><td><p>Data</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/blob/">blob</a></p></td><td><p>file content to upload</p></td></tr><tr><td><p>Port</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a></p></td><td><p>FTPS port number (typically 990 for implicit TLS)</p></td></tr><tr><td><p>Passive</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a></p></td><td><p>1 = use passive mode</p><p>0 = active mode</p></td></tr><tr><td><p>IgnoreCertErrors</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a></p></td><td><p>(optional)<br>1 = ignore TLS certificate errors</p><p>0 = strict validation (default 0)</p></td></tr></table>

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

number of bytes written, 0 on failure

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
