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

FIL.Ftp_SendImage

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void Ftp_SendImage
(
	FilNet.Image inImage,
	FilNet.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
inImageFilNet.ImageImage to send.
inImageFileFormatFilNet.ImageFileFormat?If Nil the format will be chosen on the basis of extension. Default value: ftl::NIL.
inHostNamestring\"ftp://\"URL address of the remote server. Default value: "ftp://".
inDestinationFileNamestringPath where an image file should be saved on a remote server.
inUsernameFilNet.NullableRef<string>User name needed to log in. Default value: ftl::NIL.
inPasswordFilNet.NullableRef<string>Password associated with a user name. Default value: ftl::NIL.
inUsePassiveModeboolProtocol communication mode. May be necessary when using a firewall.
inTimeoutint?<0, INF>Request timeout in seconds. Default value: ftl::NIL.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
inCaCertFileFilNet.NullableRef<string>File holding one or more certificates to verify the peer with. Default value: ftl::NIL.

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