Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-21-2007, 07:41 AM   #1
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default addon script for nxmydb

hey everybody, im trying to write a trial/quota script using nxmydb. i want to setup a standalone quota eggdrop on a *nix machine and query the nxmysql db to check the monthup values. i know how to handle mysqltcl to query mysql from a tcl script, but i cant access the monthup values because they are stored as binary blob. now im looking for a way to convert those values to integers so i could work with them.

any ideas?
gerard is offline   Reply With Quote
Old 10-21-2007, 09:23 AM   #2
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

i think the best way to get stats is to get them from ioFTPD.
so either u use ftp connection to ioftpd site or an external program that uses shared memory with ioftpd.
jeza is offline   Reply With Quote
Old 10-21-2007, 09:37 AM   #3
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

thats what neoxed told me to do aswell. and i get the point, but i was trying to create a centralized solution, so i wouldnt have to rely on one of the windows slaves. i guess ill have to simply use a quota script on one of the slaves. :-(
gerard is offline   Reply With Quote
Old 10-22-2007, 01:14 AM   #4
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

if i understand, u wanna have a nix machine to get stats from mysql and then u need a connection to ioftpd to delete user on fail quota for example.
in that case u can also get stats from ioftpd.
jeza is offline   Reply With Quote
Old 10-25-2007, 01:39 AM   #5
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

well, yes. i would like to not do the "connect to io machine" part. but everybody is advising against direct interaction with the db. so i'll probably just setup a dummy io windows box that syncs and only runs a quota script.. thanks anyway
gerard is offline   Reply With Quote
Reply

Tags
monthup, nxmydb, query, script, values

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:09 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)