The leading provider of version control solutions and TWAIN SDKs
  • Contact us









FTPUploadAllAsPDF Method

Description

Uploads all images in buffer to the FTP server as Multi-Page PDF.

ActiveX Edition Plug-in Edition Mac Edition
Since V5.0 Since V5.0 Since V6.4

Syntax

Boolean ObjectName. FTPUploadAllAsPDF(String FTPServer, String FileName)

Parameters

String FTPServer: the name of the FTP server.

String FileName: the name of the image to be uploaded. It should be a relative path on the FTP server.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

None.

See also

FTPUserName property, FTPPassword property, FTPPort property, ProxyServer property, FTPDownload(), FTPUpload(), HTTPPort property, HTTPUserName property, HTTPPassword property, HTTPDownload(),, HTTPUploadThroughPost(), HTTPUploadThroughPut(), HTTPUploadAllThroughPostAsPDF(), HTTPUploadAllThroughPutAsPDF()

Sample

A JavaScript sample is provided.

<script language="javascript">
	function btnFTPUploadAllAsPDF_onclick() {
		Webcam.FTPUploadAllAsPDF("192.168.1.20", "/Webcam/Images/ImageData.pdf");
	}
	
</script>