Re: Virtual Folders DIR bug - WeOnlyDo Discussion board

Re: Virtual Folders DIR bug (General questions)

by Chris, Wednesday, November 08, 2006, 16:46 (6590 days ago) @ wodDamir

Version of FTPD is 2.2.2.128

I have just tried with sample 1. The smallest FTP server

Add the following:

In form_load I have added:

MKDIR C:DRIVER
MKDIR C:BACKUP
MKDIR C:ROOT

In FTPD_LoginPassword.....

user.HomeDir = C:
oot
User.VirtualFolders.Add / , DRIVER , C:DRIVER
User.VirtualFolders.Add / , BACKUP , C:BACKUP

Now run sample and start.

You should have 3 new folders on C: drive. Root for user folder, driver and backup for examples.

From DOS prompt, login to server:

FTP 127.0.0.1

User: ANY
Pass: ANY

DIR

drwxr-xr-x 1 root root 0 nov 8 15:35 .
drwxr-xr-x 1 root root 0 nov 8 15:35 ..
drwxr-xr-x 1 root root 0 nov 8 15:35 DRIVER
drwxr-xr-x 1 root root 0 nov 8 15:35 BACKUP

Now lets look in the empty DRIVER folder:

DIR DRIVER

drwxr-xr-x 1 root root 0 nov 8 15:35 .
drwxr-xr-x 1 root root 0 nov 8 15:35 ..
drwxr-xr-x 1 root root 0 nov 8 15:35 DRIVER
drwxr-xr-x 1 root root 0 nov 8 15:35 BACKUP

No what I was expecting to see in this folder as it should be empty.

Chris


Complete thread: