Project

General

Profile

Download » History » Version 2

Per Amundsen, 05/13/2016 05:45 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
14
*Parameters*
15
16
<name> - Name of the download.
17 2 Per Amundsen
<url> - Url to download.
18 1 Per Amundsen
<filename> - Filename to save as.
19
20
*Example*
21
22
<pre>
23
; Download the url 'https://adiirc.com/setup64.exe' to the file 'setup.exe'.
24
/download adiirc https://adiirc.com/setup64.exe setup.exe
25
26
on *:DOWNLOAD:adiirc:echo -ag Download of $download($download).file is complete.
27
</pre>