Project

General

Profile

Download » History » Version 4

Per Amundsen, 02/16/2023 12:17 PM

1 1 Per Amundsen
_Added in 2.3_
2
3 2 Per Amundsen
*/download [-co] <name> <url> <filename>*
4 1 Per Amundsen
5
Starts a file download from a url.
6
7
See also [[$download]], [[$downloaderr]], [[on DOWNLOAD]].
8
9
*Switches*
10
11 4 Per Amundsen
table(ktable).
12
|*Switch*|*Description*|
13
| -c | Stops and closes the download. |
14
| -o | Overwrite file it if already exists. |
15
| -l | Prints the open downloads. |
16 1 Per Amundsen
17
*Parameters*
18
19 4 Per Amundsen
table(ktable).
20
|*Parameter*|*Description*|
21
| <name> | Name of the download. |
22
| <url> | Url to download. |
23
| <filename> | Filename to save as. |
24 1 Per Amundsen
25
*Example*
26
27
<pre>
28
; Download the url 'https://adiirc.com/setup64.exe' to the file 'setup.exe'.
29
/download adiirc https://adiirc.com/setup64.exe setup.exe
30
31
on *:DOWNLOAD:adiirc:echo -ag Download of $download($download).file is complete.
32
</pre>