FTP

ID #183

I cannot see files that begin with a '.' in my FTP client

Applies to: Grid System, Managed Servers, VPS

Files that begin with a '.' are hidden. Generally, these files contain configuration information and are hidden so that they are not accidentally deleted. If you need to modify a hidden file like .htaccess, then you will need to view hidden files so you can delete and upload them.

There are several ways to edit, delete, and upload hidden files. If you are using an FTP client, you should be able to change the settings so that your hidden files are viewable.


Last update: 2010-10-03 13:20
Author: FAQ Admin
Revision: 1.3

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 2 (2 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of Anonymous:
If you are comfortable on the command line, you can ssh into the server and type this command: ls -a. The command 'ls' lists the files in the directory, the flag 'a' lists all of the files. You can also use the command 'ls -al' to list all of the files and their permissions.

To delete a hidden file, type this: rm .filename
If you would like to delete the entire directory, use this command: rm -rf/htdocs/www/unwanted-directory

Note that both rm and rm -rf permanently remove files and directories from your site, so proceed with caution!


Added at: 2002-09-23 10:12

Comment of Anonymous:
from a shell prompt, type:

ls -la

to see all files, including ones that begin with a dot.
Added at: 2003-12-08 17:59

Comment of Anonymous:
Here's how to view hidden files in Fetch:

1.) Go to Fetch's Preferences.
2.) Select the Misc tab.
3.) Pick Obscure Options from the popup.
4.) Toggle 'Send LIST -al to UNIX servers.'
5.) Save. You may need to reconnect for the change to be effective.
Added at: 2004-08-11 11:36

Comment of Anonymous:
To view hidden files in WS_FTP you will want to make sure that nothing is selected/clicked on or highlighted in blue in the remote system list, and then click the transfer arrow. You will be prompted for the file name and can type in filenames that begin with a period that do not display in the file listings. See also Ipswitch's WS_FTP support page: http://support.ipswitch.com/kb/WS-19980119-DD33.htm

Another thing you can do is look for the MkDir button on the display for the remote site. Under it is a blank box. In that blank box, type: -la
That will cause all files in the directory to be listed, even hidden ones that begin with a period. See also Ipswitch's WS_FTP page on this: href=http://support.ipswitch.com/kb/WS-20001229-DM04.htm

If you do not have WS_FTP, you can download it from Ipswitch here: ftp://ftp.ftpplanet.com/WS_FTP/WS_FTP%20LE/ws_ftple.exe

Added at: 2005-02-04 12:50

Comment of Anonymous:
In FileZilla:
View -> Show Hidden Files (refresh)
Added at: 2007-07-12 14:29