Project

General

Profile

Download » History » Version 6

Per Amundsen, 08/14/2023 03:30 PM

1 1 Per Amundsen
_Added in 2.3_
2
3 5 Per Amundsen
*/download [-col] <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 6 Per Amundsen
| -c | Stops and closes the download. (<name> can be a [[Scripting_Wildcards|wildcard]]) |
14 4 Per Amundsen
| -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>