PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Shurlock on 22 August, 2004, 01:12:46

Title: Help: How to delete downloaded filelists?
Post by: Shurlock on 22 August, 2004, 01:12:46
Hi all,

I have a hub running that collects each and every filelist at entry. (Funtion within DCDM++)
Yep, I know. It bothers people, but.... its handy when a user wishes to register or if users are suspected of having 'bad ' files!  :D   The list is already 'at hand'!!!  

What happens is that the Filelist folder keeps building up. So I would like to know how I can detect if an existing filelist can be deleted because the user went offline. Why? Well, if I wish to open a filelist for an online user, that 'opening' becomes slower every day.

All the OP-commands in the hub are triggered by '!'.
So, a command something like !cleanlists  would be perfect.
If that could be triggered by a timer that would even be nicer!

Any ideas? All are welcome.

Thanks! 8)
Title:
Post by: nErBoS on 22 August, 2004, 05:02:38
Hi,

Isn't there already a option in CMD DC++ that does that ?? That erases a filelist after get checked. ??

Best regards, nErBoS
Title:
Post by: Herodes on 22 August, 2004, 07:28:48
there is another option in DCDM++ that deletes the filelists that have been downloaded when the client is shutdown ... so maybe it would be easier to restart your client ;)