Previous | Next

OnFileDownloadComplete Event

Occurs when downloading of a single file in the file list has finished.

OnFileDownloadComplete(
     Long fileId,
     Boolean result
)

Parameters

fileId
Type: Long
The ID of the file which has finished downloading. The file ID is a value returned from the AddFile method when the file was added to the file list.

result
Type: Boolean
If downloading of a single file specified with the fileId parameter has finished successfully, the result is true. Otherwise, the result is false. To get extended error information, call GetLastError and GetLastErrorDesc methods.