Product:
Search Type:

.htaccess file cannot be seen if you access the site via FTP.

Article ID: 2133 
Last Review: Sep,18 2007
APPLIES TO:
  • Plesk for Linux/Unix

SYMPTOMS

A client has .htaccess file right under httpdocs directory. This file can be seen in the Plesk file manager, but it is not shown if you access the site via FTP.

CAUSE

Files that begin with dot are hidden in the UNIX environment by default. The same rule works if you access them via FTP.

RESOLUTION

If you use command line FTP client, you can run the "ls -al" command and it will show all files.  Also, some FTP clients provide an option by which one can "unhide" hidden files via a preference setting.

Another way, you can set FTP server to always show files that begin from dots by editing /etc/proftpd.conf, add the line:

ListOptions "-A"
Keywords: ftp client hidden files .htaccess dot

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields