PDA

View Full Version : How exactly do you chmod files?


Bry Man
12-17-2002, 11:10 PM
Hi,ive been tryin to get a cgi sript to work for some time now and its asking me to chmod files, Just how exactly do you do that?

BusterLee
12-18-2002, 12:52 AM
chmod is a way of defining permisions for files on your server. It is essential to set the permission correctly so that the scirpt can function.

I assume that you have a FTP program like WSFTP. To chmod a file simply locate the file on your server via your FTP, right click on the file and select CHMOD. You will then have to select the necessary permission. Details should be within the readme file of the script.

Most help files for FTP programs will give insturctions, but a tutorial is available HERE (http://www.zachjorgensen.net/za/chmodtutor.html)

Bry Man
12-18-2002, 02:01 AM
I dont have a ftp program but I was looking at the one you mentioned earlier on in the day and was disapointed to find that they were 50$+ I dont like buying things online,if there is anyother way of doing this, or a website that has a free version of an ftp program would you please tell me

ACJavascript
12-18-2002, 02:09 AM
You can get LeechFTP for free here:http://stud.fh-heilbronn.de/~jdebis/leechftp/downloads.html

I use it all the time its great:D:D

Bry Man
12-18-2002, 04:18 AM
Thanks for the link i downloaded the ftp thing and was lookin at it. Ill try n figure it out later cuz I really have no clue right now:eek: but thanks anways:D

ACJavascript
12-18-2002, 07:59 PM
lol,,, tell me about it,, especialy since a little bit of it is in a different language LOL.. although its all in english i think theres a little german or somthing mixed in hehe.. If you need help you can IM me: ACJavascript

I dont mind heheheh :D:D:D

good luck :thumbsup:

Bry Man
12-18-2002, 11:07 PM
well how do you use this to chmod stuff i was tinkerin around with it but couldnt find that out

ACJavascript
12-19-2002, 12:32 AM
first you must log on to your server go to the script im asuming its a script hehe,, go to the file you want the chmod. Right click on it and hit ' Set Attributes ' a window will show up.. What ever number you want it to be chmod to just type in the box provided. 664 will be there automaticly (usauly depends on what your chmoding)

If its a cgi script your should set it to: 755


Hope that helps :D

Bry Man
12-19-2002, 11:09 PM
Ok when logging in it asks for the host url do i put its homepage or the page where your enter you password also is entering the port number required cuz I dont know what that is or what mine is =)

BusterLee
12-19-2002, 11:19 PM
you will need to obtain the login details from your host company.

The details will be the same as the information that you use in any program like dreamweaver or any program you use to edit your files and upload them.

you will need:

host name (this may be something like ftp.yoursite.com
username: your username that host knows you by
password: self explanatory

If you post the name of your host we should be ble to give you an idea or direct you to somewhere that may give you settings for FTP

BusterLee
12-19-2002, 11:20 PM
as for port... I have never been asked.... but i notice that it sets mine at 21. I dont know if relevant or if you need to change anything.

Is the site you refer to the one on Geocities? If it is I am not positive whether it allows FTP access unless you have a plus or pro account. Perhaps someone else may be able to clarify this!!

Bry Man
12-19-2002, 11:53 PM
Heres my managers url for the site im tryin to log into this is the adress to the place where ya upload the files and edit the html and all that
http://tools.freewebsitehosting.com/manager/rsdownload.freewebsitehosting.com

BusterLee
12-20-2002, 12:16 AM
Can I just clarify!!

The page I went to was a screen that asked for username and password and I assume that you are unable to login! Is this correct?

If so all providers have different types of information that they use to login. Some are url, other any choice of username and so on ... It will relate to the information that was put in the application when the account was opened. Unfortunately the host doesnt provide a great deal of advice on logging in.

Try using the username: rsdownload.freehosting.com or rsdownload.0catch.com as there is reference to this type of login

Let me know if I am getting the wrong idea of what you need

BusterLee
12-20-2002, 12:27 AM
oh.... BTW

Is the www address the site is meant to be at

rsdownload.freehosting.com

If so, this is not registered. I just tried to register it and it told me that it was available!

That may be the problem!

Bry Man
12-20-2002, 12:41 AM
that adress is how i log-in to my manager, i can log-in just fine, i thought that that might be what you were asking for in your previous posts.The site might not be registered becaus i dont have an index page i just use their servers for file storage and remote linking so i dont use up all of geocities Whopin 15 megs=) when im asking how do you log in im talking about logging in with the ftp program im using the free one that Ac gave me the link to called leechFTP

BusterLee
12-20-2002, 12:51 AM
Sorry.... thats all i needed to know... I was getting off the track a bit.

There is a tutorial here (http://info.0catch.com/ftp)

Obviously dont use the 0catch.com part as the domain you use is freewebsitehosting.com

This should do it!!

ACJavascript
12-20-2002, 07:58 PM
First off,, did your host give you a ftp, username and password?

if they didn't then the whole idea of logging in through ftp to set chroms and all that is pointless. So did they give you that info??

If they did then just follow these instructions to log on.

1. Open leechftp

2. In the left hand corner below File, there is a picture(button) that looks like lighting. Click that, a box will show up and ask for your ftp info.

3. Type in your host or ftp. some host used address like Lee was saying, like www.freehost.com, or a number type like 56.666.76.33. They should have given you the info in a confirmation email or somthing..

4. Type in your username, it is probably what you signed up as (unless they asked you for a specific username on the signup form ect...)

5. Type in your password.

6. Most of your hosts opperate on port 21, so just leave it as that unless they told you other wise.

7. Hit connect.

It should connect you. If it says DNS Error can't connect. Then you know you have the wrong FTP (host) url. If it says password or username error, ,they your password or username is wrong.


Hope this helps :D:D