hidden htaccess file
Moderator: General Moderators
hidden htaccess file
A host for one of my web sites (shared host) seems to have hidden htaccess's on ftp, and I can't write to it from PHP. Any way to get FTP to show the file again (in dreamweaver or ws_ftp)? I do not feel like using shell every time I want to edit it.
Yeah I knew -la I just didn't know how to get ws_ftp to manually or automatically prepend it to ftp commands because there was no "show hidden files" option, thanks anyways though tim.
I figured it out myself, here's the solution in case some one else every needs to know how:
It turns out you can type it [-la] in the little text box under "mkdir" and it will automatically add it to every FTP command, so I type -la in there and then refresh the file list and I can see it. Kind of like manually setting "show hidden files"
I figured it out myself, here's the solution in case some one else every needs to know how:
It turns out you can type it [-la] in the little text box under "mkdir" and it will automatically add it to every FTP command, so I type -la in there and then refresh the file list and I can see it. Kind of like manually setting "show hidden files"
If you wish, you can set up WS_FTP to display these hidden files as follows. Click Connect and then select the site you wish to modify and click on Properties. Select the Startup tab and then enter the two characters -a in the Remote File Mask box. Finally, click OK to confirm the change.
The next time you make an FTP connection to your account you will be able to see a number of hidden files which were not visible before. As always, please be careful not to delete any pre-installed system files or folders, unless you know what you are doing, as many of these files are necessary for the smooth running of your account.