Project

General

Profile

Download » History » Revision 4

Revision 3 (Per Amundsen, 08/01/2017 07:02 PM) → Revision 4/6 (Per Amundsen, 02/16/2023 12:17 PM)

_Added in 2.3_ 

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

 Starts a file download from a url. 

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

 *Switches* 

 table(ktable). 
 |*Switch*|*Description*| 
 | -c | - Stops and closes the download. | 
 | -o | - Overwrite file it if already exists. | 
 | -l | - Prints the open downloads. | 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | <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>