How to prevent directory browsing in ftp, but still download from folder
I'm currently trying to setup an ftp site using VSFTP and have a couple requirements for anonymous access to different folders on the site.
I have created the following folders:
- Pub - setup that you can browse the contents and is read only.
- Incoming - setup that you can browse the contents and upload files, but cannot download them.
- Test - I need to be able to configure this folder so that directory browsing is turned off, however you can still download files if you have the direct link to the file.
I have tried modifying the permissions on the folder every way that I can think of, but have not found a way to do this.
Any and all suggestions would be appreciated.