PDA

View Full Version : .ioFTPD content


oslike
09-01-2005, 07:22 AM
is there a documentation of how

.ioFTPD files are built up ?

i am trying to write a prescript that will change user and group to "abc" , "ABC" ...


is there also a docu on how exactly io user files are built?

thanks os

neoxed
09-01-2005, 08:19 AM
Scripts are not supposed to access .ioFTPD files directly (since the format of them may change between releases and ioFTPD caches them internally), use the vfs function if writing a Tcl script or the DC_VFS shared memory functionality (DC_FILEINFO_READ/DC_FILEINFO_WRITE).

The same goes for user files - ioFTPD only reads user/group files at start-up and from that point on they are cached internally. So, modifying the user file directly (e.g. x:\ioFTPD\users\0) will not work.

Search the board for more information (sample code etc.); this has been brought up many times before.

tuff
09-01-2005, 12:04 PM
and make sure you dont add any data that will take the .ioFTPD file over 4k in total, or youll find the .ioFTPD bug ;)

oslike
09-01-2005, 01:02 PM
thanks for the answers they help alot,


is there a full documentation of the user file somewhere?

os