CreateDownload Method
The CreateDownload method creates a new download.
Syntax
[obj=] SiteKiosk.Network.Downloads.CreateDownload(URL, flags)
|
Parameters
URL |
String that contains the URL of the file to download. |
flags |
Long 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 top