Downloads the file list from the URL specified with the P:FileDownloader.FileList property.
getFileDownloader("FileDownloaderID").DownloadFileList();
If a manually constructed file list already exists, this method appends new items to the end of the existing list. Manually added entries are not deleted.
As the method does not return any value, you will need to register a listener for the E:FileDownloader.Error event to check if any errors occurred.
If while adding a successive entry to the file list it turns out that the list already contains an entry with the same URL
and Name
values, the new "duplicate" entry will not be added, and the E:FileDownloader.Error event will be raised. This event will contain the number of the "original" item, which is already in the list, as the Index
parameter.