Project

General

Profile

Download » History » Revision 2

Revision 1 (Per Amundsen, 02/25/2016 12:06 PM) → Revision 2/6 (Per Amundsen, 05/13/2016 05:45 PM)

_Added in 2.3_ 

 */download [-co] [-o] <name> <url> <url|close> <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. 

 *Parameters* 

 <name> - Name of the download. 
 <url> <url|close> - Url to download or close to close the 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>