ClearDownloadDirectories Method



 
The ClearDownloadDirectories method deletes the files in all download directories.


Syntax

    SiteKiosk.Network.Downloads.ClearDownloadDirectories()
    
Return Value
    None.
Remarks
    Depending on the settings of the SiteKiosk configuration, this method deletes all files or only old files.
Examples
    The following example deletes the files in all download directories.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Network.Downloads.ClearDownloadDirectories();
    </SCRIPT>
    

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

Back to top