Helpful Information
 
 
Category: FTP Help
How can I make .htaccess files show up in ftp?

For some reason I can't see my .htaccess files when I login via ftp. Is there a way to make these files visable? I know there is actually cause I use to be able to see them. How can I get it back like that? Also is there a place where I can view all my .htaccess fiels and their locations through webmin? Thanks in advance.

I don't think, it has to do with Apache (I am not sure).. Just check in your FTP client's options to make whole file to be viewable (show all). If you FTP client doesn't has this option, then grab different FTP client.

it probably is a ftp-server issue. for security reasons some have access to .ht* disabled so noone can download your (sometimes even cleartext) password files and security configuration.
not too bad, you can still upload most times :)

if not, make a script that will show them to you ... but be aware that you bypass important security features then!


to mezz:
yes, this is no apache issue. 100%.
and to add some explanation: in unix, files starting with a dot are "hidden" files - they donīt appear in standard directory listing. most ftp clients use "ls" for listing, this has to be changed to "ls -a" - if supported by the server... hope this is not too far low-level ;)

I use cute ftp pro if anyone knows how to set it up so I can view these files.

surfing around in your CuteFTP Pro options there..

you can always download them using command line ftp. just open up a dos command prompt and type stuff like this:

ftp yourdomain.com
(prompts you for user): Chaz
(prompts you for password): ChazPass
cd to/your/stuff
get .htaccess
bye

same works in a linux terminal too of course. the command line ftp will put all files you download in the directory u you started ftp in. likewise for uploading must start fto in the directory of the file(s) you want to upload and use 'put' rather than 'get'.
use 'ls' to show directory contents like in linux. you may need to use something like 'ftp.yourdomain.com' or an IP or something to to login, but it's the same as what you use in CuteFTP

good luck

you can always download them using command line ftp. just open up a dos command prompt and type stuff like this:

no. not on my server. download to this file is restricted (and should be), but upload is ok.

but this is a way around the problem that some ftp clients cannot display files that start with a dot.
(GUIs are lame, arenīt they?)

if you're using cute ftp, connect to an ftp server, then right click in the remote files window and click filter current view from that menu. check the box for enable server side filtering. in the text box, type -a . that's it. just refresh your window, and your .htaccess file should show up :D










privacy (GDPR)