Showing .htaccess and other hidden files


Registered User
3 posts

I have 2 website projects. In CoffeeCup HTML Editor, My Websites, for one of the projects the .htaccess and other hidden files are displayed on the Project Name/FTP tab. On the other, they do not show. This makes it difficult when I want to delete the existing .htaccess file, upload a new htaccess.txt, then rename it to .htaccess.

Is there some setting somewhere that I am missing that will allow the display of hidden files on the server?


Senior Advisor
10,464 posts

Hiya Frankie,

This is something you would need to setup in your operating system to allow you to view the system files. If you open a folder on your computer and then go to the Tools and then to the Folder Options you should see a View tab. Go to that tab and scroll down to the selection that say something similar to:
Hide Protected Operating System Files (Recommended)
Uncheck that option and you should then be able to see it and edit it and manipulate it.

You may need to play with how to get to these options if you're not on windows XP as that's what I'm on and not sure how to get there on vista or 7.

You can also edit this file very easily within the Coffeecup DirectFTP program which has a slick little html/text file editor and does open that file for editing both local and server side.
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



Temporary User
5,410 posts

Does Windows hide an .htaccess file as it does protected system files? Or is that a function within the FTP client?
CoffeeCup... Yeah, they are the best!


Senior Advisor
10,464 posts

good question, check and see, but I had to allow it in my operating system in order to be able to see it in DirectFTP and HTML Editor on Windows XP
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



Temporary User
5,410 posts

I don't believe that .htaccess is, by default, a protected system file in Windows. You can always go into the properties of a file and choose to hide it if you wish.

.htaccess files are treated as hidden files and will not be visible in most FTP programs unless the FTP client is optionally configured to display them.
CoffeeCup... Yeah, they are the best!


Senior Advisor
10,464 posts

Hmm I think you're right Tony, I just turned that off and can still view and edit it in the HTML Editor and the DirectFTP. I can see the setting for viewing hidden files in the DirectFTP but can't for the life of me remember what I did to be able to see and edit them in the HTML Editor. I do know I had to do something specific, but it was a while ago. I know there is a thread on the forums here a while ago that was discussing this issue and that's where I got the help I needed to view and edit it. But I've searched the forums for htaccess and a few other words and cannot find it anywhere. I see no setting for how to view files in the HTML Editor so it has to be something else?
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



Registered User
3 posts

Thank you all for your comments!
How do you configure the FTP client embedded in the HTML Editor to show hidden files?

One of my websites does show the hidden files...the second one doesn't.


Senior Advisor
8,942 posts
Online Now

Frankie, which OS are you running? Some 10 years ago with win98 I also had to create the file as htaccess.txt, upload it and on the server I could rename it to .htaccess


Registered User
3 posts

I'm running XP Pro 5.1.2600


Senior Advisor
10,464 posts

XP Pro here too,

I can't find a setting for viewing hidden files in the HTML Editor, but I'm assuming there must be something somewhere on it?

To view the hidden files in the DirectFTP program go to the top menus and choose View then down the list to Hidden Files so that is checked and you should be set to go there for viewing hidden files :)
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.