![]() |
New window messages
AddUser
RenameUser DeleteUser AddGroup RenameGroup DeleteGroup What else is needed? |
couldnt you plz make commands similar to glftpd, like grpadd, grpren etc
|
See the forum title; this thread isn't about on site commands.
|
Anything to change a setting from a user. I would say WriteUser which writes the current user to its file. And ReadUser which reads the user into a common memory block. And as you said (I think) LockUser/UnlockUser.
For example: Suppose I would want user X,Y,Z of group Q to have limited download connections between 08:00 and 18:00 I'd do something like (in ioFTPD.ini) set scheduler to start at 08:00 to limit on set scheduler to start at 18:00 to limit off set event when ioftpd starts to set limit on/off according to time 08:00 for all users in etc\passwd user=ReadUser(); if user in (X,Y,Z) then {LockUser(user);ChangeSettings(user);WriteUser(use r);UnlockUser();} Now I can for example set the LIMITS easily and dont have caching problems. Similar with groups. Well the rest you can guess.. But you already mentioned something like that before. Basically it would be ideal to have the possibilities of all the build in site commands accessible via an API. Just my ideas.. I think what you mentioned definitely needs to be in there. |
Only lock & unlock are needed (write occurs on unlock, if contents are changed... smart, uhh?) API would be ideal solution; but my time is limited, and there is lots of more important things to be done.
|
All times are GMT -5. The time now is 04:47 AM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)