FTP Hidden Files

How can I get ftp to not show hidden files. I have tried numerous ways of getting proftp to hide the files by default.

And also, when I create a website ftp user, and put their home in a subfolder of the web root, it seems to still be creating a Maildir folder. Is there any way to remedy that? Since they will only used for ftp.

Status: 
Closed (fixed)

Comments

I tried using the IgnoreHidden directory. Maybe I can't figure out where this directive is supposed to go... I had actually visited that site. I tried in the main config, in the directory directive... sadly it still showed the hidden files.

I haven't tried this before, so this is a bit of an experiment... but what happens if you add this to the very bottom of your proftpd.conf file:

  <Limit READ DIRS>
    IgnoreHidden on
  </Limit>

It definitely still shows hidden files. It is really weird.

Okay... silly question, but you are restarting ProFTPd after making those changes?

I hit apply, do I have to stop and restart?

I just stopped it and started it again, and no go.

Maybe I should explain more. I don't want it to show .ftpaccess files. Is there a way to get it to just not show those, because I want users to be able to modify .htaccess files.

I tried HideFiles (.ftpaccess)$ in conjunction with IgnoreHidden on, and still no luck. I even tried the HideNoAccess and restricted access to the files to no avail. This is baffling, it doesn't seem like it should be this hard.

I still don't have an answer for this. But the client did stop complaining, as I told them to just not touch the .ftpaccess files. However, it would be nice to figure it out.