You are here: Start » FIL.NET » FIL.Ftp_ReceiveString
Downloads a text string from a remote server using FTP (File Transfer Protocol).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void Ftp_ReceiveString ( string inHostName, string inFtpFilePath, bool inUsePassiveMode, out string outText )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inHostName | string | \"ftp://\" | URL address of the remote server. Default value: "ftp://". | |
![]() | inFtpFilePath | string | Location of the file on a remote server. | ||
![]() | inUsePassiveMode | bool | Protocol communication mode. May be necessary when using a firewall. | ||
![]() | outText | string | Text read from a remote server. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty ftp file path on input in Ftp_ReceiveString |
DomainError | Empty host name on input in Ftp_ReceiveString |