Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-16-2004, 02:29 PM   #1
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Unhappy Adding new users to groups makes users get group settings?

I have a question about addings users to groups. When i add a new user to a group the user doesn't get the group's settings. And i think this is weird. Isn't that the whole purpose with groups, not having to change settings for every single user?

Would be really sweet if i could for example make the group "friends" having leech ratio and when adding new users them also getting leech. As it is today i have to fix all those things after creating the users ... Seems silly to me!

Anyone else who agrees?

If this is a "this will never be added, it has to be scripted" then my question is, are there any such scripts?
jahknee is offline   Reply With Quote
Old 03-16-2004, 03:42 PM   #2
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

I see ex serv-u/g6 user here... my first thought when I changed from that to ioFTPD was the same...

u setup groups and then all added users gets same perms/flags as the group... but nono, ioFTPD have its own opinion on it...
wooolF[RM] is offline   Reply With Quote
Old 03-16-2004, 03:53 PM   #3
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

yeah, used serv-u until now. very stable ftp server but it does nothing more. but i sure miss the groups in serv-u, not having to make the same setting over and over again. and i really can't see a reason why it shouldn't work like that, more the opposite.
jahknee is offline   Reply With Quote
Old 03-16-2004, 04:00 PM   #4
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

To answer the question in topic.. Yes, new users in groups get group settings, but there is only one - groupvfsfile.

All other settings are set per user. Changing user settings on add can easily be scripted in FlashFXP.

Noob note: press F7 to open editor for Custom Commands. If you already imported the command set for ioftpd, browse to ioFTPD, Add/Delete/Rename then press New Cmd.

Command Name: Add Friend
Code:
SITE GADDUSER friends %d[User:] %d[Pass:] %d[Ident@IP:]
SITE CHANGE %1 RATIO 0
Now you have your own custom command to use when adding friends. And you can of course make more changes after the ones above, ie. setting flags, changing tagline (to mess with your friends), setting homedir, number of logins etc. etc.

Code:
SITE GADDUSER friends %d[User:] %d[Pass:] %d[Ident@IP:]
SITE CHANGE %1 RATIO 0 0
SITE CHANGE %1 LOGINS 3 FTP
SITE CHANGE %1 TAGLINE I'm jahknee's *****
You probably get it by now.
Zer0Racer is offline   Reply With Quote
Old 03-16-2004, 04:35 PM   #5
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

ok, i suppose that helps a bit.

but the question still remains, why? Why add vfs but not for example ratio? still don't get it.
jahknee is offline   Reply With Quote
Old 03-16-2004, 05:35 PM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

maybe because ur using beta software ?
Mouton is offline   Reply With Quote
Old 03-16-2004, 05:53 PM   #7
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

not sure this is because it's beta. wouldn't have taken that much longer to throw in support for ratios aswell while adding vfs. this is such a basic feature that it would've been added by now, atleast that's what i think.
jahknee is offline   Reply With Quote
Old 03-26-2004, 04:05 PM   #8
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I will consider this, once I'm doing next rewrite/cleanup related to this.

Now that users & groups are cached on memory, having such settings should not be an issue anymore. (it used to be, when they weren't memory cached; access was too slow)
darkone is offline   Reply With Quote
Old 03-26-2004, 05:32 PM   #9
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

finally, that will make life much easier for new users who just tryin' to convert from serv-u/u name it to ioFTPD... more users understand how it works (and get it working instead of just saying "fsck that, it's gay") means more profit

Go d1 =)
wooolF[RM] is offline   Reply With Quote
Old 03-26-2004, 07:10 PM   #10
jahknee
Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 36
Default

thanks alot Darkone! =)
jahknee is offline   Reply With Quote
Old 03-27-2004, 10:18 AM   #11
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

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.
Mouton is offline   Reply With Quote
Old 08-16-2005, 09:06 AM   #12
marico1251
Junior Member
 
Join Date: Aug 2005
Posts: 1
Default help

hey im new, could someone PLEASE help me with finding on how to download by uploading PLEASE
marico1251 is offline   Reply With Quote
Old 08-29-2005, 05:17 PM   #13
mr_F
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 33
Default

marico you should make a new thread for a new topic.

are you talking about ratio?
site change USERNAME ratio 1

will make it so if a user uploads 1 BYTE they get 1 BYTE of download....

otherwise i don't understand what you mean...
mr_F is offline   Reply With Quote
Reply

Tags
group, groups, settings, user, users


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 12:07 PM.

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