SiteKiosk Documentation
One Step Back

Download Object




The Download object controls a single download.


Members Table

Remarks
    This object is available through the Item method, the CreateDownload method, the OnNewDownload event and the OnRemoveDownload event. Use the Download object to control a single download or to receive information about it.

    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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -