# BytesDownloaded Property The BytesDownloaded property contains the number of bytes currently downloaded. Syntax
    [long=] SiteKiosk.Network.Downloads.Item(index).BytesDownloaded
Possible Values
    Long value that retrieves the number of bytes.
The property is read only. Remarks None. Examples The following example shows the progress of a download.
    <div id="id_progr">0 bytes</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Network.Downloads.OnNewDownload = OnNewDownload;
    function OnNewDownload(newdownload)
    {
       mydownload = newdownload;
       mydownload.OnProgress = OnProgress;
    }
    function OnProgress()
    {
       id_progr.innerHTML = mydownload.BytesDownloaded + ' bytes';
    }
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top