Project

General

Profile

Download » History » Revision 3

Revision 2 (Per Amundsen, 05/13/2016 05:45 PM) → Revision 3/6 (Per Amundsen, 08/01/2017 07:02 PM)

_Added in 2.3_ 

 */download [-co] <name> <url> <filename>* 

 Starts a file download from a url. 

 See also [[$download]], [[$downloaderr]], [[on DOWNLOAD]]. 

 *Switches* 

 -c - Stops and closes the download. 
 -o - Overwrite file it if already exists. 
 -l - Prints the open downloads. 

 *Parameters* 

 <name> - Name of the download. 
 <url> - Url to download. 
 <filename> - Filename to save as. 

 *Example* 

 <pre> 
 ; Download the url 'https://adiirc.com/setup64.exe' to the file 'setup.exe'. 
 /download adiirc https://adiirc.com/setup64.exe setup.exe 

 on *:DOWNLOAD:adiirc:echo -ag Download of $download($download).file is complete. 
 </pre>