Raised when the whole download process is completed.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> function FileDownloaderID_DownloadComplete(Result) { //...your code... } var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500); //...params... //...other event listeners... fd.addEventListener("DownloadComplete", "FileDownloaderID_DownloadComplete"); //...other event listeners... fd.writeHtml(); </script>
A numeric value that reflects the completion status. The value can be one of the following:
Value | Description |
---|---|
-1
|
An unexpected error occured. |
0
|
Download has been completed successfully. |
1
|
An error has occurred while downloading the file list. |
2
|
An error has occurred while creating the file list. |
3
|
The file list is empty. |
4
|
Download has been cancelled by the user in the confirmation dialog. |
5
|
The user has not selected any files for download in the confirmation dialog. Normally this should not occur. |
6
|
Download has been cancelled by the user in the Choose Folder dialog. |
7
|
The file list could not be found on the server. |
8
|
Access to the file list on the server is denied. |
9
|
Time out while downloading the file list. |
If you want to get notifications of download completion for individual items, handle the E:FileDownloader.DownloadItemComplete event instead.