You are here: Start » AVL.NET » Function Reference » System » FTP » AVL.Ftp_SendImage

AVL.Ftp_SendImage

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void Ftp_SendImage
(
	AvlNet.Image inImage,
	string inHostName,
	string inDestinationFileName,
	bool inUsePassiveMode
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to send.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: "ftp://".
inDestinationFileNamestringPath where an image file should be saved on a remote server.
inUsePassiveModeboolProtocol communication mode. May be necessary when using a firewall.

Errors

List of possible exceptions:

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

Function Overrides

See also