Project

General

Profile

Download » History » Version 1

Per Amundsen, 02/25/2016 12:06 PM

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