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 02-13-2003, 01:44 PM   #1
Lunatik
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 40
Default site change ratio suggestion

site change <user> ratioex X X X X X X X X X X
where X being the sections

It is a pain to do a site change ratio per section when you want to change all of the sections for more than 1 user.
Lunatik is offline   Reply With Quote
Old 02-13-2003, 02:17 PM   #2
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

SITE CHANGE actually takes a whole target list not just a user or a group. The syntax for changing ratio with a target list is:
site change "target list" ratio <ratio> <section>

So you could do something like this:
site change "=group1 =group2 =group5 -user20 -user22" ratio 0 1

And if you want to change the same ratio for all users just use:
site change * ratio 0 1

This is very flexible and you can easily change settings for just the users and groups you want. If you want to change ratio in multiple sections just issue the command again and change section. If you always want to change ratio in many sections at the same time I suggest you set up your own scripted command in FlashFXP (or whatever ftp client you use) or modify your Default.User in ioFTPD\users, look for the string:
RATIO 3 3 3 3 3 3 3 3 3 3
..where every digit is a section, 0 1 2 3 4 5 6 7 8 9.
This way each user will automatically get the ratio you want them to have when you add them to your site.
Zer0Racer is offline   Reply With Quote
Old 02-13-2003, 06:37 PM   #3
Lunatik
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 40
Default

no you are missing what I am trying to suggest.

the singe ratio can stay. I am asking for an extended ratio command so you can do something like

site change <user> ratioex 0 0 0 2 3 0 0 2 1

This way I don't have to do
site change <user> ratio 0 1
site change <user> ratio 0 2
site change <user> ratio 0 3
site change <user> ratio 2 4
etc
etc


Hope this clears it up.
Lunatik is offline   Reply With Quote
Old 02-13-2003, 09:14 PM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Someone could write script for this... should be easy enough to do with tcl
darkone is offline   Reply With Quote
Reply

Tags
change, ratio, sections, site, user

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

Forum Jump


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

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