View Single Post
Old 01-11-2008, 04:18 PM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

PSA9: Here's some answers...

1) is the [Sections] Default = 0 0 0 * is where i set credits? No that is where you define what files are in which credit and stat sections. You can set default credits for all new users by editing user/Default.User and specifying a credits line in the file, or add the line to specific groups in groups/ like to set the default for new members of those groups.

DESCRIPTION Group1
SLOTS 5 5
USERS 0
CREDITS 10000 0 0 0 0 0 0 0 0 0

Interestingly enough I don't believe I know of a way to set defaults like this with any builtin site command. To avoid editing the files by hand you will need the help of a script. Luckily group files are rarely locked and the default files I don't believe ever are. Hand editing of individual user files with the server running is usually a bad idea though...

To add credits to existing users by hand you can use ioGUI, or you can use "site change user credits +-value [section]". To add credits to a whole group replace user with =group and it should apply the change to everyone in that group...


2) is their a way i would add say 2LE where E would be for idle exempt for that user? Already supported. Unless otherwise noted "user permission specifiers" (i.e. the -,=,flags) used all over the ioFTPD.ini file fully support user flags. Therefore feel free to use E to mean idle exempt. The only reason I don't setup user flags like S for no-ssl requirement, E for idle exempt, etc is because other sites might already be using those flags for other things and I didn't want to break anything if I didn't have to.

3) is this a bug in ioFTPD for reading "Block" ASCII through TCL code? There was a similar problem very early on in v6 when we were actually using TCL properly and it was converting and outputting UTF-8 which screwed up NFOs being printed from TCL. Double check that you do NOT have a ioftpd\lib\tcl8.4\encoding directory. It's also possible that the FTP client is goofing things up so perhaps try a different one just to see if that makes a difference...
Yil is offline   Reply With Quote