Project

General

Profile

Download » History » Version 3

Per Amundsen, 08/01/2017 07:02 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 2 Per Amundsen
-c - Stops and closes the download.
12 1 Per Amundsen
-o - Overwrite file it if already exists.
13 3 Per Amundsen
-l - Prints the open downloads.
14 1 Per Amundsen
15
*Parameters*
16
17
<name> - Name of the download.
18 2 Per Amundsen
<url> - Url to download.
19 1 Per Amundsen
<filename> - Filename to save as.
20
21
*Example*
22
23
<pre>
24
; Download the url 'https://adiirc.com/setup64.exe' to the file 'setup.exe'.
25
/download adiirc https://adiirc.com/setup64.exe setup.exe
26
27
on *:DOWNLOAD:adiirc:echo -ag Download of $download($download).file is complete.
28
</pre>