If you are using WinSCP and can’t see .htaccess files you can easily fix it

pressing Ctl-Alt-H

or you can also activate this option by going to:

preferences => Panels => Show hidden files

in the preferences window, click on “Panels” situated on the left menu.

And then on the right side check or uncheck the “Show Hidden Files” box to show or hide the files