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

AVL.Ftp_SendImage Method

Sends an image to a remote server using the FTP (File Transfer Protocol)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Ftp_SendImage(
	AvlNet.Image inImage,
	AvlNet.ImageFileFormat? inImageFileFormat,
	string inHostName,
	string inDestinationFileName,
	string inUsername,
	string inPassword,
	bool inUsePassiveMode
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to send.
inImageFileFormatAvlNet.ImageFileFormat?If Nil the format will be chosen on the basis of extension. Default value: atl::NIL, or null.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: \"ftp://\".
inDestinationFileNamestringPath where an image 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_SendImage
DomainError Empty destination file name on input in Ftp_SendImage

See also