Project

General

Profile

Download » History » Revision 5

Revision 4 (Per Amundsen, 02/16/2023 12:17 PM) → Revision 5/6 (Per Amundsen, 02/16/2023 12:17 PM)

_Added in 2.3_ 

 */download [-col] [-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>