Mass Downloader command line parameters

Author Message
Alexander 01/20/2005 03:12 am
Mass Downloader command line / WM_COPYDATA parameters description

(Note: Download Express does not parse command lines for the command= parameter. It does parse task data sent with the WM_COPYDATA message only.)

For the command line task please use the following format:
massdown.exe "command=param1=value;param2=value;..."

For the WM_COPYDATA message please use CRLF instead of `;` and do not use the "command=" prefix.

Please note that the "Mode" parameter is necessary for Mass Downloader.

Parameters description:

Url - Project URL.
Comment - Project comment.
Referer - Project link referrer (Referer is a misspelling of "referrer" which somehow made it into the HTTP standard.)
Threads - threads number for this Project (MD only.)
Priority - Project download Priority (when the Download Priority system is used) - MD only.
Path - Download folder and filename for the downloaded file
FileName - file name, if the Path parameter doesn`t contain it
Mode - How to add (MD only):
`default` - using default parameters;
`add` - add to the Project list;
`start` - start this Project if it is possible;
`addtoqueue` - add this project to Download Queue (when the Download Queue feature is used).
Category - Project Category (MD only.)
ExitWhenDone - True for exit after download completes, False otherwise. (MD only.)
DoNotRename - use the filename from the Path parameter, do not rename automatically. (MD only.)
DeleteWhenDone - remove the Project from the Projects list when done (MD only.)
NoDescription - do not create file with description (MD only.)
UserName - user name to login
Password - password to login
CustomHeaders - custom HTTP request headers

Samples:

(command line)
massdown.exe "command=Url=http://www.metaproducts.com/download/desetup.exe;Comment=Download Express 1.0 Release;Referer=http://www.metaproducts.com/de.html;Threads=7;Priority=4;Path=c:\testfile.exe;Mode=Start;Category=0;ExitWhenDone=true;DoNotRename=true;DeleteWhenDone=true;NoDescription=true"

(WM_COPYDATA text)
Url=http://www.metaproducts.com/download/desetup.exe
Comment=Download Express 1.0 Release
Referer=http://www.metaproducts.com/de.html
Threads=7
Priority=4
Path=c:\testfile.exe
Mode=Start
Category=0
ExitWhenDone=true
DoNotRename=true
DeleteWhenDone=true
NoDescription=true
abhollow 02/19/2009 07:30 am
Thanks! It looks like that''s what I needed.
Alexander 02/19/2009 08:59 am
You are welcome!

Best regards,
Alexander Bednyakov
MP Staff