I would rewrite the ftp server component if I were you. It's not going to be trivial to alter the way all the paths are done with a /X:/ drive before any path.
If you rewrite the directory related stuff, it shouldn't be too difficult to do what you want. I did a similar thing when doing a distributed ftp server.


Dan

----- Original Message ----- From: "Guillaume MAISON" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, May 11, 2005 2:49 PM
Subject: Re: [twsocket] [HELP] FTPServer and building directory event



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.

For the rights no. Because this ftp server is just to be used with a client of my own.


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:/.


in fact, i'd like, i'd like to display the level above a drive root.
ie : when listing /c:/ i'd like to go one level up to display something like :


drwxrwxrwx   1 ftp      ftp            0 Apr 30 19:00 C:/
drwxrwxrwx   1 ftp      ftp            0 Apr 30 19:00 D:/
drwxrwxrwx   1 ftp      ftp            0 Apr 30 19:00 P:/
drwxrwxrwx   1 ftp      ftp            0 Apr 30 19:00 Q:/
drwxrwxrwx   1 ftp      ftp            0 Apr 30 19:00 T:/

or if anyone has another way how to handle that possibility ?

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

Reply via email to