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,
	bool inUsePassiveMode,
	bool inAllowUntrusted
)

Parameters

Name Type Range Default Description
inFilePathstringPath to a file stored on the local drive.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: "ftp://".
inDestinationFileNamestringPath where a file should be saved on a remote server.
inUsePassiveModeboolProtocol communication mode. May be necessary when using a firewall.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.

Function Overrides

See also