You are here: Start » AVL.NET » AVS.Ftp_ReceiveFile Method
AVS.Ftp_ReceiveFile Method
Downloads a file from a remote server using FTP (File Transfer Protocol).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void Ftp_ReceiveFile ( string inFilePath, string inHostName, string inFtpFilePath, bool inUsePassiveMode, bool inAllowUntrusted )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inFilePath | string | Location of the file on a remote server. | |||
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. | |||
inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. Default value: False. |