<Directory ~/>
DenyFilter ^(\..+|file1\.conf|file2\.so)$
HideFiles ^(\..+|file1\.conf|file2\.so)$
</Directory>
ftp://user:password( dog )site.ru/path/to/file1.conf
For example:
# We don't want .ftpaccess or .htaccess files to be uploaded
PathDenyFilter "(\\.ftpaccess|\\.htaccess)$"