_Added in 2.3_ *$download* Returns the download name during a [[on DOWNLOAD]] event. _See also [[$downloaderr]], [[/download]], [[on DOWNLOAD]]._ ---------------------------------------- *$download(name,[N])* Returns information about a the Nth download. *Parameters* table(ktable). |*Parameter*|*Description*| | name | Name to lookup, can be a wildcard. | | [N} | If N = 0, number of matches, otherwise the Nth match. (optionally) | *Properties* table(ktable). |*Property*|*Description*| | .name | Name of the download. | | .file | Filename to save as. | | .url | The url to download. | *Example*
; Print number of downloads.
//echo -ag $download(*, 0)

; Print the first download.
//echo -ag $download(*, 1)