how to set a file’s permission to 755? i had this tutorial that uses cgi and it says there to change the file’s permission to 755…how do i do that?
What are you using? ws_ftp? telnet?
do it with php:
chmod()
set the directory/file as 1 parameter and next parameter is permission…
if u use telnet and your host runs on a *nix machine, use the following command:
chmod 755 yourfile
be sure you give this command when the current directory (folder) is the one which contains ‘yourfile’
huh? uhm…can i do that in simple HTML? what do i have to write there? and how?
you cannot chmod files in html, because html is not rendered on the server. it is rendered on the viewers computer.
i was talking about telnet… if your host has telnet enabled, you can use it to chmod files … but you must know basic linux commands
i think he is asking just how to do basic chmod without getting into the linux hokey-pokey stuff.
to do it in ws_ftp, is hard… i dont know why, works for everyone else, but if you download smartftp (smartftp.com) it gives you an option, and you can put a number.
but make sure, some hosts you gotta put cgi files in cgi-bin, and some dont. cause if you have to put in cgi-bin, and you dont, it wont work
well, the best way to chmod a file short and quickly is by downloading any ftp software (i for one use ‘cute ftp pro v2.0’ from globalscape);
when having any software of this kind, right-click the file you want to chmod and then search in the options for something regarding our subject… at least it workx this way with cute ftp…