Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 08-20-2008, 04:29 PM   #1
lxllol
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default how to adduser with settings of a speicfic group

Hi, there.
I have more than three groups with different settings including ratio, speedlimit, and logins' number.
each time when i use "gadduser" to add a user to a specific group,
I also have to use "site change =group1 ratio 0", "site change =group1 speedlimit 500 0", etc to change these setting of the new user.

I'm wondering if there's a easier way to do that?
like just use the gadduser command, and all the other stuff could be excute automatically.

I've searched the forum, just figure a way mentioned by Mouton:


Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator


Join Date: Dec 2002
Posts: 2,025

--------------------------------------------------------------------------------

For those unpatient ones, a simple .itcl file trigerred on post SITE and that reacts to adduser and gadduser would do.
And maybe even a new SITE command to specify group settings.

SITE GRPCHANGE somegroup RATIO 0
SITE GRPCHANGE somegroup LOGINS 2 FTP
SITE GRPCHANGE somegroup TAGLINE I'm new in somegroup!

Those commands would write the settings in say ioFTPD\groups\Default.<GroupID>

And on SITE [G]ADDUSER ..., the itcl would read those settings for the right group, and apply them to the added user.


the link:http://www.flashfxp.com/forum/showth...p+user+default

however, i dont know how to do that specificly...


anyone who master this thing plz show me a specific way of doing this job.
thanks a lot in advance~~
lxllol is offline   Reply With Quote
 

Tags
ftp, group, settings, site, somegroup


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 On
HTML code is Off

Forum Jump


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

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