Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > ! Requests

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

Reply
 
Thread Tools Rate Thread
Old 11-15-2005, 05:38 AM   #1
Member
 
Join Date: May 2005
Posts: 31
Default problem credit section

hi i have problem with credit section, exactly

[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

DN = 3 3 /REQUEST/*
BLA = 0 1 /MP3/*
HOME = 0 1 /*
Default = 0 *

i would to have leech in section DN and ratio 1:3 in others
i use cmd site change user ratio 3 and then site change user ratio 0 3
not works!! why?
biasquez is offline   Reply With Quote
Old 11-15-2005, 06:17 AM   #2
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 507
Default

Default.user
RATIO 3 3 3 0 3 3 3 3 3 3
means ratio 0 in section 3

all new added users will have by default in section 3 ration 0(unlimited)
for all existing users u can change ratio in section 3
site change * ratio 0 3

DN = 3 3 /REQUEST/*
BLA = 0 1 /MP3/*
HOME = 0 1 /*
Default = 0 *
jeza is offline   Reply With Quote
Old 11-15-2005, 07:13 AM   #3
Member
 
Join Date: May 2005
Posts: 31
Default

done but not works.
biasquez is offline   Reply With Quote
Old 11-15-2005, 11:12 AM   #4
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 2,022
Default

Note:
DN = 3 3 /REQUEST/*
is the same thing as
DN = 3 /REQUEST/*
The later is simpler...

SITE CONFIG REHASH
SITE CONFIG SHOW Sections

Confirm that your change is there.

Edit ioftpd/text/ftp/TransferComplete:

Code:
[Section: %[$section]]-[Free: %.2[free($path)(giga)]GB]-[Ratio: %[ratio]]-[Speed: %.1[speed]kb/s]
[Credits: %.0[credits(mega)]MB]-[UL: %.2[allup(bytes)(giga)]GB]-[DL: %.2[alldn(bytes)(giga)]GB]
Transfer complete.
SITE CHANGE your_username RATIO 3
SITE CHANGE your_username RATIO 0 3

Change to directory /REQUEST
Check that the ratio shown when you list the directory is indeed "Unlimited".

If not, paste the log of all the above operations.
Mouton is offline   Reply With Quote
Old 11-15-2005, 04:27 PM   #5
Member
 
Join Date: May 2005
Posts: 31
Default

problem fixed. there was string HOME too. thz guys
biasquez is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:45 PM.