The RAIDEN FTP SERVER example

how to setup user's home dir with virtual file system

Q : when you want to add a "home" directory for each user on RAIDEN FTP SERVER , how can you make it ?
A : First you have to prepare a real directories inside your harddrive as all users' home base directory , for example , c:\home , and if you wish the user to have a /homeLink dir as his home directory . You can simply add this line to the *.vfs file of your *.ftpd file c:\home\%S| /homeLink|%S|%g|700|r now we'll do some explaination , the seperator is '|' so we'll ignore it , the first element is c:\home\%S , and it represents the full path of user's home dir , however the %s will be replaced with the user's name while user logs in , and the 3rd element is the owner of this dir , 4th element is the owner group of this dir ( %g will be replaced with group name) , and the mode 700 means only the user himself can read/write/modify inside this directory . other important notes #1. you must create the physical dir c:\home\john , for the user john , if you wish him to have a home directory #2. you must create an empty directory called homeLink under your ftpd root directory , ex : c:\FtpdRoot\homeLink , if your ftpd root directory is c:\FtpdRoot #3. for the variables you can use in the *.vfs text file , check this list