Hide Virtual Folder (General questions)

by phil @, (4798 days ago)

When adding a Virtual Folder is there a way to hide it so it does not display when the directories are listed?

locked

Re: Hide Virtual Folder

by wodDamir @, (4798 days ago) @ phil

Hi Phil,

Unfortunately no. The only way to achieve this is by modifying the directory listing when it is sent to user. This can be achieved by using ListDirData event:

http://www.weonlydo.com/FTPServer/Help/wodFTPD-ListDirData-Event.html

However, perhaps the more effective way would be to simply prevent it from being listed? You can do that simply by setting Action in ListDir event to Deny.

Regards,
Damba

locked