Downloads Collection



 
The Downloads collection contains all active and finished downloads.


Members Table

Remarks
    This collection is available through the object Network. Use the Downloads collection to receive information about downloads, control active downloads or change settings regarding downloads.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows the name of the file every time a new download started.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Network.Downloads.OnNewDownload = OnNewDownload;
    function OnNewDownload(newdownload)
    {
       alert(newdownload.DownloadURL + " will be downloaded");
    }
    </SCRIPT>
    

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

Back to top