You are here: Start » AVL.NET » AVS.Ftp_SendFile Method
AVS.Ftp_SendFile Method
Sends a file to a remote server using FTP (File Transfer Protocol).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void Ftp_SendFile ( string inFilePath, string inHostName, string inDestinationFileName, NullableRef<string> inUsername, NullableRef<string> inPassword, bool inUsePassiveMode, int? inTimeout, bool inAllowUntrusted, NullableRef<string> inCaCertFile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inFilePath | string | Path to a file stored on the local drive. | |||
inHostName | string | \"ftp://\" | URL address of the remote server. Default value: "ftp://". | ||
inDestinationFileName | string | Path where a file should be saved on a remote server. | |||
inUsername | AvlNet.NullableRef<string> | User name needed to log in. Default value: atl::NIL. | |||
inPassword | AvlNet.NullableRef<string> | Password associated with a user name. Default value: atl::NIL. | |||
inUsePassiveMode | bool | Protocol communication mode. May be necessary when using a firewall. | |||
inTimeout | int? | <0, INF> | Request timeout in seconds. Default value: atl::NIL. | ||
inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. Default value: False. | ||
inCaCertFile | AvlNet.NullableRef<string> | File holding one or more certificates to verify the peer with. Default value: atl::NIL. |