PDA

View Full Version : Credited Sections Problem


Shorty
12-11-2002, 04:34 PM
I got 10 credited sections and 3 of them are showing as "DEFAULT" when you go list inside it. All others are showing the right name.
Here's the set up in the ioftpd.ini:

[Sections]
XXX = 1 /XXX/*
SVCD = 1 /SVCD/*
VCD = 1 /VCD/*
TVRiP = 1 /TVRiP/*
DVDR = 2 /DVDR/*
0DAY = 3 /EVERYDAY APPS/*
MP3 = 4 /MP3/*
GAMES = 5 /GAMES/*
CLONECD = 5 /CLONECD/*
DOX = 5 /DOX/*
UTILS = 6 /UTILS/*
BOOKWARE = 7 /BOOKWARE/*
PRiVATE = 8 /PRiVATE/*
REQUESTS = 9 /REQUESTS/*
DEFAULT = 0 *

And here's the setup in the .vfs file:

"C:\ioFTPD\site" /
"D:\XXX" /XXX
"D:\SVCD" /SVCD
"D:\VCD" /VCD
"D:\TVRiP" /TVRiP
"H:\DVDR" /DVDR
"H:\EVERYDAY APPS" /EVERYDAY APPS
"G:\MP3" /MP3
"G:\GAMES" /GAMES
"G:\CLONECD" /CLONECD
"G:\DOX" /DOX
"H:\APPS" /UTILS
"H:\BOOKWARE" /BOOKWARE
"C:\Goodies\PRiVATE" /PRiVATE
"C:\Goodies\REQUESTS" /REQUESTS

the ONLY 3 sections that aren't showing the name of the credited section when I get in, are: BOOKWARE, PRiVATE and REQUESTS.

Any ideas why those 3 aren't working? I tried to switch sections #s around, putting them in the start as section 1,2,3 and renaming the others, deleting the others, making the dirs on another HDs, everything I could think of, and still no go.

Am I missing something?

Thanks.

Using ioFTPD 3.7.2 on Win2k Server.

darkone
12-11-2002, 10:46 PM
- edit -

*Umms* or should I say *Oops* :) I forgot that copy of config that it is (was) using is alphasorted in memory by variable length & names (for much quicker searches).. so what happends to list in this case is:


DOX
MP3
...
DEFAULT
PRIVATE
BOOKWARE
REQUESTS

and because DEFAULT has path specified to * (which matches with everything), search stops on it...

Quick fix is to remove DEFAULT (Default section is also hardcoded... I'm sure that someone would try to crash daemon by removing it :p)

darkone
12-11-2002, 11:11 PM
Moving this to proper discussion area...