View Single Post
Old 11-17-2005, 08:51 PM  
helenoksen
Member
 
Join Date: Oct 2005
Posts: 75
Default

HTML Code:
[Sections]
GROUPS                              = 5 9 /GROUPS/*
REQUEST                             = 0 8 /REQUEST/*
SPEED                               = 0 7 /SPEED/*
SECTIONS			    = 5 1 /SECTION1/*
SECTIONS 			    = 5 1 /SECTION2/*
SECTIONS 			    = 5 1 /SECTION3/*
SECTIONS 			    = 5 1 /SECTION4/*
SECTIONS                            = 5 1 /SECTION5/*
DEFAULT                             = 0 0 *
HTML Code:
[Transfer]
Transfer_Credits		= " You do not have enough credits.\n Credits: %mbMB"
Transfer_Ok			= " Transferred %mbMB from %fromsection to %tosection."
# Sections that should not be possible to tranfer to
Transfer_Sections_0		= "SECTIONS"
I set this to Transfer_Sections_0 = "SECTIONS" but i can still transfer to that section.

HTML Code:
[2] (02:07:24) SITE TRANSFER
[2] (02:07:24) 200--[Transfer]------------------------------------------------------------------
[2] (02:07:24) 200- Syntax:
[2] (02:07:24) 200- site transfer <MB> <from> <to>
[2] (02:07:24) 200- Sections can be given with number or name
[2] (02:07:24) 200- (5)GROUPS (0)REQUEST (0)SPEED (0)DEFAULT
[2] (02:07:24) 200------------------------------------------------------------------------[ioA]-

[2] (02:06:16) SITE TRANSFER 1000 DEFAULT SECTIONS
[2] (02:06:16) 200--[Transfer]------------------------------------------------------------------
[2] (02:06:16) 200- Transferred 1000MB from DEFAULT to SECTIONS.
[2] (02:06:16) 200------------------------------------------------------------------------[ioA]-

Before site transfer:
[2] (02:05:15) SITE STAT
[2] (02:05:15) 200-[Ul: 95.4MB] [Dl: 14.3MB] [Speed: 0.0kb/s] [Free: 48.82GB]
[2] (02:05:15) 200-[Section: SECTIONS] [Credits: 271.8M] [Ratio: 1:3]

After site transfer:
[2] (02:06:38) SITE STAT
[2] (02:06:38) 200-[Ul: 95.4MB] [Dl: 14.3MB] [Speed: 0.0kb/s] [Free: 48.82GB]
[2] (02:06:38) 200-[Section: SECTIONS] [Credits: 1271.8M] [Ratio: 1:3]
Shouldn't ioA prohibit this?

Also, what if you need to transfer credits FROM the section you 'disabled' in the config line?
# Sections that should not be possible to tranfer to
Transfer_Sections_0 = "SECTIONS"

If these are indeed bugs or whatever I'd be happy to help you run some tests.

ioFTPD 5.8.5r
ioA.2.0.5
helenoksen is offline   Reply With Quote