View Single Post
Old 06-20-2004, 03:09 PM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

Would it be possible to add an environmental variable/Tcl variable indicating which VFS file is currently being used for that user?

By doing so it would save a fair amount of work. First you would have to open the userfile and check for the vfsfile. If there is no vfsfile found in the userfile, you would then have to open the user's primary group file and check for the vfsfile. Then finally, if there was no vfsfile found in the groupfile, you would have to read ioFTPD.ini and find the Default_Vfs option.

If you ask me, getenv("VFSFILE"); would be a lot less work, especially since this is run every OnUploadComplete event.
neoxed is offline   Reply With Quote