Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add download links to IDM from a program [closed]

I want to add some links to the IDM. can anyone give me a pseudo code for doing that. or a link to a page that explains how to do it.

like image 597
DanMatlin Avatar asked Oct 15 '25 13:10

DanMatlin


2 Answers

You may start IDM from the command line using the following parameters

idman /s

or idman /d URL [/p local_path] [/f local_file_name] [/q] [/h][/n] [/a]

Parameters:

/d URL - downloads a file

e.g. IDMan.exe /d "internetdownloadmanager.com/path/FileName.zip"

/s - starts queue in scheduler

/p local_path - defines the local path where to save the file

/f local_file_name - defines the local file name to save the file

/q - IDM will exit after the successful downloading. This parameter works only for the first copy

/h - IDM will hang up your connection after the successful downloading

/n - turns on the silent mode when IDM doesn't ask any questions

/a - add a file specified with /d to download queue, but don't start downloading

Parameters /a, /h, /n, /q, /f local_file_name, /p local_path work only if you specified the file to download with /d URL

Examples

C:>idman.exe /n /d tonec.com/download/idman317.exe

For More Information Visit :https://www.internetdownloadmanager.com/support/command_line.html

like image 60
mp.hamid Avatar answered Oct 18 '25 20:10

mp.hamid


You can add links to IDM by passing the "-d" argument to IDMan.exe

From in your program or script, (you can use ShellExecute or the equivalent in whatever language you're using,) call [IDM Install Path]\IDMan.exe -d [link]

[IDM Install Path]: The directory where idm is installed
(eg. C:\Program Files\Internet Download Manager)

[link]: The url you want to add to IDM

like image 45
Rick Lewis Avatar answered Oct 18 '25 19:10

Rick Lewis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!