Ftp_SendString
Sends a string to a remote serve using FTP (File Transfer Protocol).
Syntax
C++
Python
def Ftp_SendString( inText: str, inHostName: str, inDestinationFileName: str, /, *, inUsername: str | None = None, inPassword: str | None = None, inUsePassiveMode: bool = False, inTimeout: int | None = None, inAllowUntrusted: bool = False, inCaCertFile: str | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inText | str | Text to send. | ||
![]() |
inHostName | str | URL address of the remote server. | ||
![]() |
inDestinationFileName | str | Path where a text file should be saved on a remote server. | ||
![]() |
inUsername | str | None | None | User name needed to log in. | |
![]() |
inPassword | str | None | None | Password associated with a user name. | |
![]() |
inUsePassiveMode | bool | False | Protocol communication mode. May be necessary when using a firewall. | |
![]() |
inTimeout | int | None | 0 - ![]() |
None | Request timeout in seconds. |
![]() |
inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. | |
![]() |
inCaCertFile | str | None | None | File holding one or more certificates to verify the peer with. |


