You are here: Start » FIL.NET » FIL.Ftp_SendString
Sends a string to a remote serve using FTP (File Transfer Protocol).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void Ftp_SendString ( string inText, string inHostName, string inDestinationFileName, NullableRef<string> inUsername, NullableRef<string> inPassword, bool inUsePassiveMode )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inText | string | Text to send. | ||
![]() | inHostName | string | \"ftp://\" | URL address of the remote server. Default value: "ftp://". | |
![]() | inDestinationFileName | string | Path where a text file should be saved on a remote server. | ||
![]() | inUsername | FilNet.NullableRef<string> | User name needed to log in. Default value: ftl::NIL. | ||
![]() | inPassword | FilNet.NullableRef<string> | Password associated with a user name. Default value: ftl::NIL. | ||
![]() | inUsePassiveMode | bool | Protocol communication mode. May be necessary when using a firewall. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty destination file name on input in Ftp_SendString |
DomainError | Empty host name on input in Ftp_SendString |