Poman wrote:
>> hi, i just can't figure out, how 2 set a root folder (only
>> directories under the server's root folder can be reached)????
>> TFtpServer component....

>The client home directory should be set in event OnAuthenticate:
>Client.HomeDir   := 'C:\FtpRoot\';
>Client.Directory := Client.HomeDir; // Set current directory as well
 ok. it works. but i still can brouse folders that higher then FTP   ROOT 
FOLDER. (i.e. if ftp root folder if c:\ftproot, i gain access to  c:\). 
 How 2 prevent it???

>I recommend to use V6 since it provides options ftpsHidePhysicalPath
>and ftpHidePhysicalPath and also fixes some security issues related
>to directory changes. 
 I use BC++ Builder 6. is v6 works on it?
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to