You are here: Start » AVL.NET » AVL.Ftp_SendImage(AvlNet.Image, AvlNet.ImageFileFormat?, string, string, string, string, bool)

AVL.Ftp_SendImage(AvlNet.Image, AvlNet.ImageFileFormat?, string, string, string, string, bool)

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

inImage
Type: AvlNet.Image
Image to send.
inImageFileFormat
Type: System.Nullable<AvlNet.ImageFileFormat>
If Nil the format will be chosen on the basis of extension, or null.
inHostName
Type: System.String
URL address of the remote server.
inDestinationFileName
Type: System.String
Path where an image file should be saved on a remote server.
inUsername
Type: System.String
User name needed to log in, or null.
inPassword
Type: System.String
Password associated with a user name, or null.
inUsePassiveMode
Type: System.Boolean
Protocol 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