[feature request] Add option for remote downloaders

Bug reports and enhancement requests
Post Reply
Faw
Posts: 4
Joined: Thu Apr 28, 2011 6:36 pm

[feature request] Add option for remote downloaders

Post by Faw »

I was wondering if it was possible to add the option to add a download to a remote downloader.

For example:
  • Free Download Manager: you can set it as a server (just found out)
  • MLDonkey: you can add a download to it by calling the url "http://username:password@server:port/submit?q=dllink+url"
  • Aria2: It has a XML-RPC and JSON interface. You can add a download with a POST to "http://username:password@server:port/jsonrpc" with the JSON request as the data.
So what I was thinking is adding a REMOTE option (just like CUSTOM) with the following fields: host,user,password,path, method (GET/POST), query (query string for GET, post data for POST).
Once you have that info you can create the reque4st and send it to the downloader.

Example for MLDonkey
  • host: myserver:8080
  • user: admin
  • password: admin_password
  • path: /submit
  • method: GET
  • data: q=dllink+[URL]
URL: http://admin:admin_password@myserver:80 ... llink+[URL]

Example for Aria2C
  • host: myserver:8080
  • user: admin
  • password: admin_password
  • path: /jsonrpc
  • method: POST
  • data: {'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.addUri','params':[[ [URL] ]]}
URL: http://admin:admin_password@myserver:8080/jsonrpc
POST_DATA: {'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.addUri','params':[[ [URL] ]]}

Example for Free Download Manager
  • host: myserver:8080
  • user:
  • password:
  • path: /adddownload.req
  • method: GET
  • data:URL=[URL]
URL: http://myserver:8080/adddownload.req?URL=[URL]

Any comments?
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Faw
Posts: 4
Joined: Thu Apr 28, 2011 6:36 pm

Re: [feature request] Add option for remote downloaders

Post by Faw »

So no comment about this? How about adding aria2 remote support?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [feature request] Add option for remote downloaders

Post by GµårÐïåñ »

You are not being ignored, I assure you. The problem is that Giorgio has his plate really full with things that are not place to discuss here. But if you give him some time to review it when he is not being pulled into so many different directions, I am sure he will comment or perhaps even implement. Please be patient and if you don't get a reply on this within the next two weeks, then let us know again with a bump and I will chase it down. ok?
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/6.9 (Windows NT 6.9; rv:6.9) Gecko/69696969 Firefox/6.9
lemarec56
Posts: 2
Joined: Thu Nov 24, 2011 12:46 pm

Re: [feature request] Add option for remote downloaders

Post by lemarec56 »

Hello

In the same idea

Option for NAS (QNAP, ...)
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Faw
Posts: 4
Joined: Thu Apr 28, 2011 6:36 pm

Re: [feature request] Add option for remote downloaders

Post by Faw »

So nothing yet?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [feature request] Add option for remote downloaders

Post by Giorgio Maone »

It's actually a very good idea.
I'm putting it in my TODO list, but I'm likely to implement it in a simpler way, e.g. by just letting user to specify an URL template which accepts the usual placeholders ([URL], [REFERER] and so on) but urlencodes them, rather than escaping them for the command line.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
sabret00the
Senior Member
Posts: 76
Joined: Mon Apr 05, 2010 9:10 pm

Re: [feature request] Add option for remote downloaders

Post by sabret00the »

I had a similar idea. But this too would be awesome. I hope it comes to fruition.
Mozilla/5.0 (Windows NT 6.1; rv:13.0a1) Gecko/20120205 Firefox/13.0a1
Faw
Posts: 4
Joined: Thu Apr 28, 2011 6:36 pm

Re: [feature request] Add option for remote downloaders

Post by Faw »

Giorgio Maone wrote:It's actually a very good idea.
I'm putting it in my TODO list, but I'm likely to implement it in a simpler way, e.g. by just letting user to specify an URL template which accepts the usual placeholders ([URL], [REFERER] and so on) but urlencodes them, rather than escaping them for the command line.
Well the reason I split it in sections (host,user,password pathm method,data) is because not all downloaders use GET (Aria2C uses POST), so maybe it could be just 2 fields: URL,POST_DATA (using placeholders on both), if POST_DATA is empty, just use GET.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Post Reply