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









HTTPPort

Description

Returns or sets the port number of the HTTP server.

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">
Webcam = document.getElementById("iDynamicWebcam");//iDynamicWebcam is the id of the Dynamic Webcam on the page (An object or an embed).

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