"Using Technology to serve Him by serving His people"

 


Tek4Him Client Support Area


Hosting Support FAQ Topic #6 - File Manager



The files in your site are stored in directories.  Directories can hold other sub-directories. The result is a directory structure that can have many sub-levels.  Any of those directories can contain files. How you organize your directory structure is up to you.

Always remember that for your files to show up on the web, they *have* to be in the www folder (or yourdomain-www which is the same place actually)Do not ever delete anything that you did not put there.  There must be certain files and folders there in order for everything to work.
Folders to *never* delete in your root directory are:
yourdomain-www
yourdomain-secure
www
yourdomain-mail
yourdomain-logs
or within your yourdomain-www (or www) folder *never* delete:
cgi-bin
stats

Back to Top


How to Navigate the File Manager

From the Administration Suite, select the File Manager icon. The File Manager window appears:

 

Once the File Manager window has opened, you will see a listing of directories and files located in your Current Directory, the path of which is displayed in the listing above.

! Note ! File Manager does not display hidden files (i.e., files whose names begin with a period (.), such as ".htaccess").

Each directory and file within the listing will appear as a hypertext link.  In the image above, links appear blue and underlined. Simply click on any link to drill down into that directory.  In the case of a file, clicking on its link will open the file (if it can be opened by the browser).

The image below shows what happens when you drill down into a directory. (In this case, the directory user-logs was opened.)

Click on the Parent Dir link to move "up" (or "back") one directory.

In the example to the right, clicking on the link will move you from the user-logs directory back into the user directory.

The next image shows the result of drilling down into a file.  (The image is of the file access-log).

To move "back" one directory, click on the Parent Dir link.

When in a directory that has a large number of files, the files are listed alphabetically by file name. Sometimes, it is desirable to see the listing of files sorted by the time (date) of their creation or by the size of the files, from largest to smallest.

!Note! The alphabetical sorting option is case-sensitive. This means that file names beginning with upper-case letters come before file names beginning with lower-case letters.  The sort order is A-Z, then a-z.  This means, for example, you could have a file named WORDS.TXT listed before a file named a-plus.htm.

Back to Top

 


How to use the List Sorting Tool

* When in the File Manager screen, the Sort Tool is located at the bottom of the current file listing.

* Click on the Sort files by: drop-down list to display a listing of sort options.  These options are Name, Size and Time.  Select the desired option.

* Click on the Sort button. The screen reappears with the files and directories listed in the selected sort order.

!Note! Once a Sort order has been specified, it will be applied to all listings for the duration of your session.  To change the sort order back, repeat the process described above, and choose a different sort option.

Back to Top

 


Changing File and Directory Permissions

Permissions can be set for your directories and files. These permissions determine who can view, write to, and/or use the directories and folders in your site.

The permission settings are each comprised of nine letters (or characters) in a row that appear to the far left of the listing for each directory or file. Each letter represents a type of access, while the position in the nine-digit string dictates who has that type of access.

The characters displayed in these settings can be r, w, x or -.

r stands for read access; whoever has this level of access can view the file or directory.

w stands for write access; whoever has this level of access can overwrite existing files or write new files in the specified directory.

x stands for execute access; whoever has this level of access can run executable files.

- (the dash) indicates that no permission is given.

The first three positions in the nine-digit string are the permission settings for the owner. The second three digits are for any groups (if any groups are created), while the last three digits are the permission settings for others (anyone who is not the owner, or is not a part of a previously declared group).

 

How To Change Permission Settings on Files and Directories:

From within the File Manager screen, click on any of the Permission Setting links for the desired file or directory. The Change Permission screen displays.

* The Change permission of file or directory name message indicates which file or directory permissions you are changing. Once a directory's permissions are set, you can access specific sub-directories and files within the directory to alter the settings on an individual basis.

* Notice in the Change Permission screen the nine-digit setting is split up into the groups that were discussed earlier: Owner, Group and Others.

*As the owner of the file or directory, typically you should have full access, so all three settings r, w, x (read, write, execute) should be selected.

* If you have set up groups (which involves the creation of a group and the addition of usernames into the group) select the appropriate permission settings.

*If this group is a collection of people to which you are giving the ability to see and use files which you are otherwise denying to other people, then select the read and execute settings.

*If this group is more of a workgroup, containing members who will be working with files and directories on your site, then it would be appropriate to select the write setting also.

* The Other settings depend on how much access you want to give provide globally

* Typically, both read and execute access are given to everyone while write access is denied.  This allows people to view and use your site without being able to change it.

* However, there may be items that you wish to keep hidden from globally, in which case you would disable the read and, depending on the file or directory, execute permissions.

* When all of the settings are correct, select the Submit button to finalize the changes. The File Manager window reappears with the new settings.

Back to Top

 


How To Delete Files and Directories:

1. From the File Manager, select the Delete link that corresponds to the file or directory you would like to delete.  The Delete Confirmation page displays

Warning: Deleting a directory automatically deletes all files and subdirectories located within it.

Note: When deleting a file, the Delete Confirmation page displays the message "Delete File: Filename?"

If you are sure that you want to delete the file or directory, select the Confirm button.

* After Confirm has been selected, the File Manager reappears, open to the most recent directory.

Back to Top

 


How To Rename Files and Directories:

* From the File Manager, select the Rename link that corresponds to the file or directory you would like to rename.  The Rename Confirmation page displays.

* If you are sure that you want to rename the file or directory, type the new name in the blank field and click the Confirm button.

* After Confirm has been selected, the File Manager reappears, open to the most recent directory.

Back to Top

 

 


General Information: Tek4Him@Tek4Him.net ¤ Webmaster: webmaster@Tek4Him.net
Site last updated on December 14, 2005

 

*1 Tek4Him partners with Christian Web Host to host websites

*2 Tek4Him gratefully acknowledges Christian Web Host as a
major content contributor to the Hosting Support pages

Prayer for the Nation