View Single Post
Old 05-07-2004, 05:17 PM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

No, he was talking about the userfile and groupfile function, not reading from files.

[userfile ascii2bin ...] and [groupfile ascii2bin ...]

http://www.ioftpd.com/board/showthre...&threadid=1775

Could easily be done by:

userfile open "someuser"
userfile lock
set newufile ""
lappend newufile "credits 0 0 0 0 0 0 0 0 0 0"
lappend newufile "tagline Unknown"
userfile ascii2bin [join $newufile "\n"]
userfile unlock

ioFTPD would then replace the 'credits' and 'tagline' portion of the userfile with the new values, leaving the rest as it previously was.
neoxed is offline