SiteKiosk Documentation
One Step Back

CreateDownload Method




The CreateDownload method creates a new download.


Syntax

    [obj=] SiteKiosk.Network.Downloads.CreateDownload(URL, flags)
    
Parameters
    URLString that contains the URL of the file to download.
    flagsLong value that contains the flags.
Return Value
    Returns a Download object that contains information about the respective download.
Remarks
    A download created using this method must be started using the Start method.
Examples
    The following example creates a new download and starts it.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    obj = SiteKiosk.Network.Downloads.CreateDownload("ChooseURL", 0);
    obj.Start();
    </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 -