Hi,
We actually have this feature quite high on our wanted feature list. Only lack of time has stopped us from doing this

It would be quite easy to implement this as a firefox plugin or perhaps even as a greasemonkey script.
But to provide some info on how this could be done. I think the easiest way to talk to the download manager is by doing regular http posts to the scripts.
You have to do two things to get this working.
First you have to authenticate yourself. This is simplest done by posting to say index.php with the parameters
uid set to your username,
passwd set to your password and
submit set to anything you like. Depending on how you do this you might have to collect the cookie, PHPSESSID, that gets sent here.
Then to add a download do a post, with the cookie you got when logging in provided, to the script
downloads.php with the parameters
add_download set to "Add",
url set to the url that you want to download,
uuid to a guaranteed unique identifier prefixed with the string "ftd".
Then to log out, do a post to index.php with the parameter logout set to anything.
A few example using wget. Every example should be entered on
one line.
Login:
Code: Select all
wget -o /dev/null --no-check-certificate --keep-session-cookies --save-cookies cookies.txt --post-data='submit=yes&uid=myusername&passwd=mypassword' https://bubba/web-admin/index.php
Add download:
Code: Select all
wget -o /dev/null --no-check-certificate --load-cookies cookies.txt --post-data='add_download=Add&uuid=ftd46d7d30bc6a1f&url=http://update.excito.net/install/minimal/bubba.img' https://bubba/web-admin/downloads.php
Log out:
Code: Select all
wget -o /dev/null --no-check-certificate --load-cookies cookies.txt --post-data='logout=yes' https://bubba/web-admin/index.php
/Tor