mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] Using a database for store the donwload and downloa


From: Diaz Rodriguez, Eduardo
Subject: Re: [Mldonkey-users] Using a database for store the donwload and downloaded files
Date: Tue, 27 Jan 2004 18:23:56 +0100

Sorry my english is very bad... :-D

> But, if I understand you right you are running more than one 
> mldonkey on multiple machines and you want to crosscheck if one 
> mldonkey already downloaded the file before you can submit it to another?

yes

The idea.

Machine1                      Machine
Mldonkey 1--------------------Mldonkey 2
                         |
Mysqldatabase            |    No database

Program greps hash ids   |    Program greps hash ids
from files.              |    fromfiles
                               
                         |    send every hash to a
put the list             |    http://machine1/inputfiles.php?hash=aas..
in a table usin perl:dbc |

This programas run in cron every 5 mins...

Mozilla MLdonkey Protocol Handler

clinks in a edk2 url..

go to machine1 and http://machine1/check.php?hash=aas

if error, go out

if ok, go insert edk2 to machine 1..

On Mon, 26 Jan 2004 16:44:24 +0100, Leif Sandstede wrote
> Hi Eduardo
> 
> First I am sorry to tell you I did not understand your mail completely.
> 
> But, if I understand you right you are running more than one 
> mldonkey on multiple machines and you want to crosscheck if one 
> mldonkey already downloaded the file before you can submit it to another?
> 
> Maybe you should look into the multiple-user feature of mldonkey?
> 
> > I want to make some developed for this goals:
> > 
> > use mysql(or other) database include a list of my hash files that I am
> > downloading and I downloaded.
> 
> I think there was a Plugin or mod for mldonkey to use mysql as 
> filedatabase instead of its own, but I can not find it right now.
> Maybe someone else knows.
> 
> > Use the protocol handler of mozilla for check if I download this hash file.
> 
> mldonkey already checks if it downloaded a file previously and will 
> return an understandable errormessage too if you try to download it again.
> 
> > Use only http for comms. Bye firewalls..
> 
> mmhh well that is kind of impossible for mldonkey, edonkey is it's 
> own protocol and not http. Of course you can place a machine running 
> mldonkey outside of your firewall and comunicate with it over the 
> web-gui. Maybe that is what you want, just that once mldonkey 
> downloaded a file you want to transfer it over http past your 
> firewall to your working machine?
> 
> > This is the idea:
> > 
> > one (for mldonkey machine) perl script greps the hash files that I download
> > and downloaded and insert the data in the database mysql. 
> > 
> > Use the Mozilla MLdonkey Protocol Handler for check over http the hash, and
> > don't insert if the hash is in the list..
> > the Mozilla MLdonkey Protocol Handler are in javascript and can be very easy
> > modify for use one simple php page for check if the hash exists....
> 
> As I said before mldonkey will return an comprehensive error message 
> when it already downloded/downloads a file. You will see that in the 
> small window the protocol handler popups too.
> 
> Leif


=======================================================================================
La calumnia siempre es sencilla y verosímil.
                -- Bertrand Russell. (1872-1970) Filósofo y matemático 
británico. 
=======================================================================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]