When login FTP server,there are many hidden files which I don't want to be displayed in the file list. What should I do?
Checkout the proftpd configuration options. the "IgnoreHidden" option might offer what you're after. Edit: note that you might want users to get to dot files - like the .ht(access|passwd) files for example.
There are two files under /etc directory: proftpd.conf proftpd_ispconfig.conf And I can't find any option regarding "IgnoreHidden" in both files. Should I add the option "IgnoreHidden on" manually? Where should I add the option? I am using FC3+Proftp+ISPConfig 2.1.2.
I add the following line to /etc/proftpd.conf under: Default ~ IgnoreHidden on Then I restart proftpd,but it display the following error message: warning: AuthPAMAuthoritative is drprecated. Fatal: Proftpd directive not allowed in server config context on line 141 in /etc/proftpd.conf. What else do I miss?
This seems to be a different error that has nothing to do with the lines you put into /etc/proftpd.conf. What's in line 141 of your proftpd.conf?
The 141 line I put into /etc/proftpd.conf is: DefaultRoot ~ <==line 140 IgnoreHidden on <==line 141 Please see the attached images
There is no LsDefaultOptions in my proftpd.conf. But I find the following lines in it: AuthPAMAuthorititive on ListOptions "-a"
Please try to set: ListOptions "" and restart postfix. The list options are passed to the linux command "ls", with the parameter "-a" the ls command lists also dot files.
If you hide those directories, the admin user won't be able to upload Perl scripts or download log files...
What if the administrator accidently delete those directories? Can't he just make any new directory name to put his perl or php scripts?
Thanks. Now I am able to open the FTP server to my users. No more questions relate to this topic. I will post another question in new topic.