|
Setting
File Permissions
Go Back
Introduction
The
installation of a custom
script often requires a special file permission; in some
instances it may be necessary to set a file or directory
permission.
We
highly recommend using the FTP client, WS_FTP.
You can use WS_FTP to set any numeric chmod
permission setting.
How
to use the WSFTP "SITE" command
-
Open
the WS_FTP program and connect
to your web site.
-
Click
your right mouse button.
-
Select
"FTP commands" from the FTP Menu.
-
Enter
the desired chmod command in the SITE command
field.
Example
Suppose
you were preparing to enable anonymous FTP and you needed to
disable public write access to a file named sample.htm.
the WSFTP SITE command is used.

The
command to set public write access OFF is: chmod
750 <filename>
Follow
the instructions above to display the SITE command field and
enter the desired chmod command as shown here.
If
the file in question resides in a subdirectory of your web
site, you will first need to open the respective
subdirectory before issuing the SITE command.
Go Back
|