TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

HTTPPort

Description

Returns or sets the port number of the HTTP server.

Support information

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

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

<script language="javascript" type="text/javascript">
WebTWAIN = document.getElementById("iDynamicWebTwain");//iDynamicWebTwain is the id of the Dynamic Web TWAIN on the page (An object or an embed).

function btnUpload_onclick()
{ WebTWAIN.HTTPPort = 80; WebTWAIN.IfSSL = false; // If 80 is the port number of non-secure port /* WebTWAIN.HTTPPort = 443; WebTWAIN.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 © 2012 Dynamsoft Corporation. All Rights Reserved.