ErrorCode Property



 
The ErrorCode property contains the error code of the download.


Syntax

    [long=] SiteKiosk.Network.Downloads.Item(index).ErrorCode
Possible Values
    Long value that retrieves the error code.

    The property is read only.
Remarks
    Possible error codes:

    0 = no error occurred
    1 = copying file after download failed
    2 = file to large
    3 = download URL forbidden
Examples
    The following example shows the error code of the first download.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Network.Downloads.Item(1).ErrorCode);
    </SCRIPT>
    

Applies to
    SiteKiosk v5.5 (and later versions).

Back to top