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

AVS.Ftp_SendImage Method

Sends an image to a remote server using 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,
	NullableRef<string> inUsername,
	NullableRef<string> inPassword,
	bool inUsePassiveMode,
	int? inTimeout,
	bool inAllowUntrusted,
	NullableRef<string> inCaCertFile
)

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.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: "ftp://".
inDestinationFileNamestringPath where an image file should be saved on a remote server.
inUsernameAvlNet.NullableRef<string>User name needed to log in. Default value: atl::NIL.
inPasswordAvlNet.NullableRef<string>Password associated with a user name. Default value: atl::NIL.
inUsePassiveModeboolProtocol communication mode. May be necessary when using a firewall.
inTimeoutint?<0, INF>Request timeout in seconds. Default value: atl::NIL.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
inCaCertFileAvlNet.NullableRef<string>File holding one or more certificates to verify the peer with. Default value: atl::NIL.

Function Overrides

See also