Ftp_SendImage


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

Syntax

C++
Python
 
def Ftp_SendImage(
	inImage: Image,
	inHostName: str,
	inDestinationFileName: str,
	/,
	*,
	inImageFileFormat: ImageFileFormat | None = None,
	inUsername: str | None = None,
	inPassword: str | None = None,
	inUsePassiveMode: bool = False,
	inTimeout: int | None = None,
	inAllowUntrusted: bool = False,
	inCaCertFile: str | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Image to send.
Input value inImageFileFormat ImageFileFormat | None None If Nil the format will be chosen on the basis of extension.
Input value inHostName str URL address of the remote server.
Input value inDestinationFileName str Path where an image file should be saved on a remote server.
Input value inUsername str | None None User name needed to log in.
Input value inPassword str | None None Password associated with a user name.
Input value inUsePassiveMode bool False Protocol communication mode. May be necessary when using a firewall.
Input value inTimeout int | None 0 - None Request timeout in seconds.
Input value inAllowUntrusted bool False Whether or not to allow untrusted SSL certificates.
Input value inCaCertFile str | None None File holding one or more certificates to verify the peer with.