PDA

View Full Version : users getting credits in some sections but not others


Redeyz
11-10-2004, 01:25 PM
Having a strange problem I had users tell me that they have credits in one section but 0 in others. Here is an example user:
XVID
[L] 150 Opening ASCII mode data connection for directory listing.
[L] 226-[Section: XVID]-[Free: 47.98GB]-[Ratio: 1:3]-[Speed: 0.0kb/s]
[L] 226-[Credits: 7643MB]-[UL: 3.02GB]-[DL: 0.00GB]
[L] 226 Transfer complete.

Here is the root dir
[L] LIST -al
[L] 150 Opening ASCII mode data connection for directory listing.
[L] 226-[Section: default]-[Free: 47.98GB]-[Ratio: 1:3]-[Speed: 0.0kb/s]
[L] 226-[Credits: 4578MB]-[UL: 0.00GB]-[DL: 0.00GB]
[L] 226 Transfer complete.

All other sections
[L] 150 Opening ASCII mode data connection for directory listing.
[L] 226-[Section: DOX]-[Free: 47.97GB]-[Ratio: 1:3]-[Speed: 0.0kb/s]
[L] 226-[Credits: 0MB]-[UL: 0.00GB]-[DL: 0.00GB]
[L] 226 Transfer complete.

Uinfo on the user shows me this: Credits: 4578MB
here is the default.vfs
"c:\windows\eth0" /
"c:\eth0\APPS" /APPS
"c:\eth0\DOX" /DOX
"f:\GAMES" /GAMES
"c:\eth0\REQUEST" /REQUEST
"c:\eth0\SPEED" /SPEED
"c:\eth0\SVCD" /SVCD
"f:\VCD" /VCD
"c:\eth0\XVID" /XVID

Also i noticed the other day it tell me i needed credits. I was already set to ulim but i reset it that way again. Then i notice that in certain dir it was still showing me 1:3. Any ideas?

[R] 200-ioFTPD version: 5-8-5r
[R] 200-ioBanana version: 20

Redeyz
11-10-2004, 02:03 PM
[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

APPS = 0 1 /APPS/*
DOX = 0 2 /DOX/*
GAMES = 0 3 /GAMES/*
REQUEST = 0 4 /REQUEST/*
SPEED = 0 5 /SPEED/*
SVCD = 0 6 /SVCD/*
VCD = 0 7 /VCD/*
XVID = 0 8 /XVID/*

The more i look at this i know I setup wrong could it be the cause of the problem? should i change the 0 to match the # next to it?

SIGGI_
11-10-2004, 02:05 PM
You must have setup the ioFTPD.ini file so it use diffrent credits and ratio in each section

this is the default settings

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

Home = 0 1 /home/*
Default = 0 *


http://www.ioftpd.com/documentation/08-sections.php

SIGGI_
11-10-2004, 02:08 PM
Im sure u dont need to have diffrent Credit and Ratio on each secion so just change it to default settings and your users will get reallly happy :p

Redeyz
11-10-2004, 02:11 PM
So del
[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

APPS = 0 1 /APPS/*
DOX = 0 2 /DOX/*
GAMES = 0 3 /GAMES/*
REQUEST = 0 4 /REQUEST/*
SPEED = 0 5 /SPEED/*
SVCD = 0 6 /SVCD/*
VCD = 0 7 /VCD/*
XVID = 0 8 /XVID/*

And replace with: (all users will be 1:3 every section)
[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

Home = 0 1 /home/*
Default = 0 *

SIGGI_
11-10-2004, 02:12 PM
Yes :)

p.s Othe wise u need to let the user transfer credit between each section, and there is no need for that, maybe if u run a really big site

Redeyz
11-10-2004, 02:40 PM
worked like a charm, report matching user files now for each dir

SIGGI_ gets leech on any site of mine :)

neoxed
11-10-2004, 04:51 PM
Originally posted by Redeyz
here is the default.vfs
"c:\windows\eth0" /
"c:\eth0\APPS" /APPS
"c:\eth0\DOX" /DOX
"f:\GAMES" /GAMES
"c:\eth0\REQUEST" /REQUEST
"c:\eth0\SPEED" /SPEED
"c:\eth0\SVCD" /SVCD
"f:\VCD" /VCD
"c:\eth0\XVID" /XVID

...

[R] 200-ioFTPD version: 5-8-5r
[R] 200-ioBanana version: 20

Interesting VFS path, why are you hiding your installation? And why are you using a registered version of ioFTPD if you haven't paid for it? I think we all have an idea of what you're using ioFTPD for, and this is not supported nor allowed.

Forum Rules: http://www.ioftpd.com/board/announcement.php?s=&forumid=2

- Post about 'leaked' ioFTPD registered versions, or foundation scripts, or about hacked PC ('I have a problem installing ioFTPD in C:\Recycler...') will not be tolerated. They will be deleted and the user who posted will be banned. This also includes, but is not limited to: 'unauthorized' installation of ioFTPD, disassembling of ioFTPD (which is against the EULA).