How to automatically download a magnet link ?
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org 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.

Kanubach

Hi.

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 0.3.6.0 / Lua 5.1.2
The must frequently client used is ApexDC++.

Many thanks.

HyperT3nsion

Nice...
but Ptokax 0.4.4.1 is out now...
try downloading that
most of the scripts are being made for that

http://www.dscmz.co.cc <--- My Website

Ptokax Rules...

Kanubach


Madman

#3
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.

*Edit*

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

CrazyGuy

I don't like your attitude!

Describe your concerns instead so they can be looked at

SMF spam blocked by CleanTalk