You are here: Start » AVL.NET » AVL.Ftp_SendString Method

AVL.Ftp_SendString Method

Sends a string to a remote serve using FTP (File Transfer Protocol).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Ftp_SendString(
	string inText,
	string inHostName,
	string inDestinationFileName,
	string inUsername,
	string inPassword,
	bool inUsePassiveMode
)

Parameters

Name Type Range Default Description
inTextstringText to send.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: \"ftp://\".
inDestinationFileNamestringPath where a text file should be saved on a remote server.
inUsernamestringUser name needed to log in. Default value: atl::NIL, or null.
inPasswordstringPassword associated with a user name. Default value: atl::NIL, or null.
inUsePassiveModeboolProtocol communication mode. May be necessary when using a firewall.

Errors

Error type Description
DomainError Empty host name on input in Ftp_SendString
DomainError Empty destination file name on input in Ftp_SendString

See also