FileDownloader.ProcessSubfolders Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Switch that indicates whether File Downloader should create subfolders specified for files in the file list.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("ProcessSubfolders", "true");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setProcessSubfolders(value);
value = getFileDownloader("FileDownloaderID").getProcessSubfolders();

Property Value

A boolean value (true or false). If true, File Downloader will create subfolders specified in the file list. The subfolders will be created in the folder selected by the user. If false, all files will be simply saved in the download folder.

Default value is "true".