Answer the question
In order to leave comments, you need to log in
How to prohibit downloading, uploading certain files and viewing them in the FTP client?
By smoking mana and on the Internet, I found an option how to hide certain files in the FTP client:
<Directory ~/>
DenyFilter ^(\..+|file1\.conf|file2\.so)$
HideFiles ^(\..+|file1\.conf|file2\.so)$
</Directory>
ftp://user:password( dog )site.ru/path/to/file1.conf
Answer the question
In order to leave comments, you need to log in
www.proftpd.org/docs/modules/mod_core.html#PathDen...
For example:
# We don't want .ftpaccess or .htaccess files to be uploaded
PathDenyFilter "(\\.ftpaccess|\\.htaccess)$"
If it is Unix/Linux, then the easiest way is to change the file permissions so that the account under which the FTP server is running does not have the right to read them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question