This is a very complex task as you will need to create "virtual folders". I have done it in my program NETFile Server but it took 3 weeks with testing. Also, if you wish to show directory permissions the UNIX style (like "drwxr--", that's additional work too.
If your project is not a real commercial FTP server, then I would suggest you to stay away from it and use drives like /d:/, /c:/.
----- Original Message ----- From: "Guillaume MAISON" <[EMAIL PROTECTED]>
Sent: Wednesday, May 11, 2005 3:09 PM
Subject: [twsocket] [HELP] FTPServer and building directory event
i have a weird problem : i'm building a FTP server and i want to be able to go through every drive the server has.
my idea was the following : in the BuildDirectory event, if the directory asked is / (meaning root) i build a fake directory listing with all the existing drives on the server.
the problem is that i can't upper than C:\ ! (or /C:/)
anyone has an idea to go a bit upper than drive's root and hence be able to build a fake directory with all the available drives ?
Guillaume MAISON ----- Guillaume MAISON - [EMAIL PROTECTED] 83, Cours Victor Hugo 47000 AGEN Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50 e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com
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
-- 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