.htaccess locked my site

I’ve created a .htaccess file with nothing but deny all and I uploaded it to the site’s root dir and though it’ll be visible for edit but its hidden and now I cant edit the file and cant get to my site via web, 403 error. any ideas how to delete the .htaccess file ?

Telnet and rm .htaccess?

Set your FTP app to show hidden or invisible files, and delete it.


I had a similar problem of not being able to see my .htaccess file in WS_FTP.

If you have this you’ll have to follow these steps.
Hit connect /
edit /
startup /
In the blank that says “Remote file mask” type in -a

From then on you will be able to see your hidden files that start with the .