How to automatically download a magnet link ?


29 December 2022 - PtokaX (20th anniversary edition) released...
11 April 2017 - PtokaX released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX for Windows 10 IoT released...
3 September 2015 - PtokaX released...
16 August 2015 - PtokaX released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX released...
13 April 2014 - PtokaX released...
23 March 2014 - PtokaX testing version build 454 is available.
04 March 2014 - sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

How to automatically download a magnet link ?

Started by Kanubach, 14 January, 2009, 14:24:33

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



On my hub, I have a lua bot that collects stuffs posted by users. All the stuffs are logged within a file on the server by the bot, when it receives the new stuff command. Each stuff-record have many fields (file name, date, magnet link, etc.). The bot provides commands that display stuffs history, with magnet link for each stuff. Every user may click on the magnet on their client to launch the download of the corresponding file.
There are a lot of bots worldaround that do the same things.

My question is : is there a way, when a new stuff is trapped by the bot, to send to a (predefined list of) client a command that simulates a mouse-click on the corresponding magnet, ie that requests to the client the downloading of the file corresponding to the magnet ? All the clients are not concerned, only ones that have subscripted to this functionnality. This function would permit to concerned users to get all posted stuff, even if there are not working on their computer (during office time, night, etc.).

I'm currently working with PtokaX / Lua 5.1.2
The must frequently client used is ApexDC++.

Many thanks.


but Ptokax is out now...
try downloading that
most of the scripts are being made for that <--- My Website

Ptokax Rules...



It is not posible to do that. If it where, hubowners could force users to download stuff.
And that would defently be abused

Only user can click the magnet link.


How ever, you still upgrade.
It's not like you drive a horse and wagon on the highway?
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p


I don't like your attitude!

Describe your concerns instead so they can be looked at

SMF spam blocked by CleanTalk