FTPUploadAllAsMultiPageTIFF()

Description

Uploads all the images in buffer to the FTP server as a TIFF file.

Syntax

.FTPUploadAllAsMultiPageTIFF(fTPServer, fileName, [optionalAsyncSuccessFunc, optionalAsyncFailureFunc]);

Parameters

<string> fTPServer: specifies the FTP server.
<string> fileName: specifies the file name, path included.

The following two parameters are optional. If either one exists or both exist, the method is asynchronous, otherwise it's synchronous.

<OnSuccess function> optional optionalAsyncSuccessFunc: callback function triggered when the file is uploaded successfully.
<OnFailure function> optional optionalAsyncFailureFunc: callback function triggered when the file failed to be uploaded.

Please refer to the function prototype OnSuccess or OnFailure.

Return value

Only valid when used synchronously.

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

See Also

TiffCompressionType