How to Show Hidden .htaccess Files in CuteFTP, FileZilla, WinSCP and cPanel

Files that start with a dot are hidden by default, so .htaccess often seems to be missing. Here is the setting that shows it in each common FTP client and file manager.

Your .htaccess file is usually there; your FTP client just hides it. Files whose names start with a dot are treated as hidden, and many FTP servers leave them out of directory listings unless the client asks for them. In CuteFTP, enable server-side filtering and enter -a. In FileZilla, choose Server, then Force showing hidden files. In WinSCP and cPanel’s File Manager, turn on the “show hidden files” setting.

Originally published in October 2010 for CuteFTP. Rewritten in December 2026 to cover the tools most people use now.

CuteFTP

  1. Open the Site Manager and select your site, or create a new one with Ctrl+N.
  2. Open the Actions tab and click Filter.
  3. Tick “Enable server side filtering”.
  4. Type -a in the box below it.
  5. Click Apply, then OK, and reconnect.

-a asks the server to list all files, including those starting with a dot.

FileZilla

From the menu, choose Server, then Force showing hidden files. FileZilla reconnects and lists dotfiles. The setting stays on for future sessions.

WinSCP

Press Ctrl+Alt+H, or go to Options, Preferences, Panels and tick “Show hidden files”.

cPanel File Manager

Open File Manager, click Settings in the top right, tick “Show Hidden Files (dotfiles)” and save.

macOS Finder and Windows Explorer

If the file is missing on your own computer, press Cmd+Shift+. in Finder to show hidden files. In Windows 11 File Explorer, choose View, Show, Hidden items. Windows also hides file extensions by default, so a file you saved as .htaccess might really be .htaccess.txt. Turn on View, Show, File name extensions to check.

Upload .htaccess safely

  • Use SFTP if your host supports it. It encrypts your password and usually shows dotfiles by default.
  • Download a copy of the current .htaccess before you overwrite it. One typo can take the whole site down with a 500 error, and having the old file makes it a quick fix.
  • Upload in ASCII or auto mode, so line endings are converted correctly.

Common questions

Why does my FTP client ask to overwrite .htaccess when I can’t see it?

The file exists, but the listing hides it. Turn on hidden files as shown above, and download the existing file before replacing it.

Why does the server ignore my .htaccess?

Check the file name (no .txt at the end), that it’s in the right folder, and that the server is Apache or LiteSpeed. Nginx doesn’t read .htaccess files.

Is it safe to show hidden files?

Yes. It only changes what your client displays. Just be careful not to delete or edit dotfiles you don’t recognize, such as .well-known, which is used for SSL certificates.