can't chmod .htaccess file. once uploaded, disappear

alexp

Joined: 2002-11-23
Posts: 2
Posted: Sat, 2002-11-23 06:21

hello everyone,

i have web space on onyxservers.com unix machineS.
I uploaded through ftp all the files required for gallery.
i couldn't pass through the setup wizard as he requires config.php and .htaccess, both chmoded 777.
No prob with creating the files on my home computer. I had no prob with config.php either to chmod it.
But as soon as i upload .htaccess, it disappear. I use cuteFTP PRo 1.0
I tried with internet explorer, to no avail.

anyone has encontered this?
thanks,

alex

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Sat, 2002-11-23 23:17

Alex

Files with a full stop (.) in front of the name are treated as hidden files, so it's perfectly normal that you don't see it after uploading.

I use Ws_ftp, and it has an option that allows you to view the hidden files. I'm sure cuteFTP must have something similar. I'd suggest you look in the help files of cuteFTP for the word hidden (or hidden files), and I'm sure it will come up with some useful information.

FOUND IT! I found cuteftp's knowledge base online, and rummaged around for you. Got the following information:
----------
Displaying Hidden Files: You can display hidden files on servers using a special filter command. When configuring your filter, select Enable remote filters (Server applied filter). Type in -rtaF next to this field. Your listing command should now be LIST-rtaF, which will display of hidden files.
----------

That should do it. Once you can see the file then chmod it and hopefully your problems will be solved.

Regards,

Gaile

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2002-11-23 23:18

Read <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;topic=701&amp;action=viewtopic&amp;topic=1869" TARGET="_blank">this thread</A><!-- BBCode End --> for CuteFTP instructions.

-Beckett (beck@beckettmw.com)

 
alexp

Joined: 2002-11-23
Posts: 2
Posted: Sun, 2002-11-24 00:24

Gaile,

thank you very very much for this piece of information. I learned thanks to your efforts.

good luck with your projects !

:smile:
alex

 
Jester2000
Jester2000's picture

Joined: 2003-06-24
Posts: 40
Posted: Tue, 2003-06-24 17:03

Or you could do what I did: just upload the file as htaccess (no dot) and chmod it. Then just rename it to .htaccess

If you need to get to the file again, then right click (in Cute Ftp) and select GET FILE. type in .htaccess and it will download to your computer. Change it, then upload it back. :)

-Jess

 
sanjuandav

Joined: 2003-07-08
Posts: 1
Posted: Tue, 2003-07-08 17:57

When I tried the suggested fix it revealed the hidden file but blocked any changes to file permission, which is the whole point. I filled the box in with "-a" only and found that I could see the files and change the permissions.

 
JadeFist

Joined: 2003-04-25
Posts: 21
Posted: Tue, 2003-07-08 23:17
sanjuandav wrote:
When I tried the suggested fix it revealed the hidden file but blocked any changes to file permission, which is the whole point. I filled the box in with "-a" only and found that I could see the files and change the permissions.

I also use WS_FTP Pro. This suggestion seemed to work for me :) I have a folder in my Gallery directory named 'Setup' that has zero properties in CHMOD window. It seems to have zero attributes and I can't change/edit it by CHMOD. I can't delete the dang directory either. Driving me whacko.

It's very frustrating when I can't delete directories and sub-directories if there's any files in them. Why won't these FTP programs let you delete directories without going through each directory and manually deleting it's contents? I could have sworn a previous version of WS_FTP I used had a setting to allow the deletion of a directory and all it's contents automatically....

 
Jester2000
Jester2000's picture

Joined: 2003-06-24
Posts: 40
Posted: Tue, 2003-10-07 06:17

How do you see the .htaccess file in FlashFXP ????

Anyone know???

 
Shq

Joined: 2004-02-16
Posts: 1
Posted: Mon, 2004-02-16 16:20

When i try chmod a file , it says "200 You Do not need to chmod on this server"
what does that mean? and how do i enable it to let me change the permission, bcoz files dissapear after i hit refresh. plz help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2004-02-17 03:26
Quote:
How do you see the .htaccess file in FlashFXP ????

Anyone know???

No problem :D

Press F6 for preferences (Options > Preferences)

Select the "Advanced" tab, in the middle-right, under "List Method" select "Show hidden files". If that doesn't work, select custom, then make sure it has "ls -la" (without quotes) as the custom command.

HTH

Kevin

 
Kbux
Kbux's picture

Joined: 2004-07-29
Posts: 2
Posted: Thu, 2004-08-05 16:11

Does anybody know how to reveal the hidden files with WS_FTP Home?

 
justchil
justchil's picture

Joined: 2003-02-07
Posts: 225
Posted: Thu, 2004-08-05 22:25

use WS_ftp.. and theres a text box for unix commands on the right.. just put in

-al

Should list them.. you may want to check out cuteftp or smartftp.

 
bnobles

Joined: 2005-04-09
Posts: 11
Posted: Tue, 2005-04-12 02:41
justchil wrote:
use WS_ftp.. and theres a text box for unix commands on the right.. just put in

-al

Should list them.. you may want to check out cuteftp or smartftp.

Or in the profile for that ftp connection, you can

Select Properties.
Click the Startup tab.
Enter -al
in the Remote file mask text box.

That way it will always display hidden files.