Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

HTTPPort

Description

Returns or sets the port number of the HTTP server.

Data type

Integer

Syntax

ObjectName. HTTPPort

Remarks

The default HTTP port number is 80. This property is used with IfSSL property.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

IfSSL property, FTPUserName property, FTPPassword property, FTPPort property, ProxyServer property, FTPDownload, FTPUpload(), HTTPPassword property, HTTPUserName property, HTTPDownload(), HTTPUploadThroughPut(), HTTPUploadThroughPost()

Samples

JavaScript Sample:
<SCRIPT LANGUAGE="javascript">

function btnUpload_onclick()
{ frmScan.DynamicWebTwain1.HTTPPort = 80; frmScan.DynamicWebTwain1.IfSSL = false; // If 80 is the port number of non-secure port /* frmScan.DynamicWebTwain1.HTTPPort = 443; frmScan.DynamicWebTwain1.IfSSL = true; // If 443 is the port number of secure port */ ... } </SCRIPT>












TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.