|
CPanel is a fully featured web-based control
panel that allows you to manage your domain
through a web interface. The idea is to
transfer as much of the control and responsibility
of managing your web site to you. You have
the ability to manage all aspects of e-mail,
files, backup, FTP, CGI scripts, and web
site statistics.
|
|
File Manager
The File Manager allows you to manage your
site through HTML, rather than an FTP tool
or other third-party application. You can
upload, create or delete files, organize
files in folders, and change file permissions.
While not as sophisticated as most FTP tools,
File Manager is free and gives you all the
basic functionality necessary to manage
your site..
The features available to you in the File
Manager are as follows:
Creating a new folder: Folders are a very
useful way of adding organization and structure
to your web site. They make maintenance
of the site much easier, as you can easily
see what files are in which folder. Most
web sites include at least an /image folder
to keep all the image files separate from
the HTML files.
Uploading files in File Manager: You can
use File Manager to upload files to your
web site, up to 12 files in one go. Although
useful, a third-party FTP client has many
more features and does not limit you to
the number of files you can upload at one
time.
Creating a new file: For small text files
it can be easier to create them online,
rather than on your home computer and uploading
the file. You can create text files, such
as HTML, PHP, or plain TXT, but not binary
files.
Editing a file: Editing a pre-existing
file through File Manager allows you to
make immediate changes to your web site,
without having to upload a new version of
the file. This is useful for small changes,
but would be inefficient for large amounts
of coding.
Renaming a file or folder: You can quickly
rename a file or folder if you originally
labeled a file or folder with the wrong
name, or if the name needs to be updated.
This is useful if a small number of files
need to be changed, since you do not need
to upload any files for the changes to take
effect, but inefficient if you needed to
rename your entire site.
Changing file/folder permissions: All files
on UNIX (including Linux and other UNIX
variants) machines have access permissions.
These tell the operating system how to deal
with requests to access these files. There
are three types of access:
Read - Denoted as r, files with read access
can be displayed to the user.
Write - Denoted as w, files with write
access can be modified by the user.
Execute - Denoted as x, files with execute
access can be executed as programs by the
user.
Access types are set for three types of
user group:
User - the owner of the file.
Group - other files which are in the same
folder or group.
World - everyone else.
The web server needs to be able to read
your web pages in order to be able to display
them in a browser. The following permissions
need to be set in order for your web site
to function properly.
All HTML files and images need to be readable
by others. The setting for this is 644 (readable
by User, Group, and World, and writable
by User), and is set automatically when
you upload files.
All folders need to be executable by others.
The setting for this is 755 (readable by
User, Group, and World, writable by User,
executable by User, Group, and World), and
is set automatically when you create a folder.
All CGI files (all files in the cgi-bin
folder) need to be executable by others.
The setting for this is 755 (readable by
User, Group, and World, writable by User,
executable by User, Group, and World), and
is not set automatically when you upload
files. You need to change file permissions
manually. Refer to the Introduction to CGI
topic for more information.
Warning: It is important that none of your
files or folders are writable by anyone
else. Any file or folder which is writable
by others can be erased by them. Generally
there is no problem, just be careful in
how you set your permissions.
Deleting a file or folder: The control
panel includes a Trash folder, which operates
the same way as the Windows Recycle Bin.
All deleted files are automatically placed
in the Trash folder and can be restored
to their original positions by a simple
click. However, once you empty the Trash
folder, the files are permanently deleted.
Refer to Emptying the Trash for more information.
Restoring an item from the trash: You can
easily restore a deleted file from the Trash
by moving it from the Trash to another folder.
Restored folders are automatically moved
back to their original location. However,
you will not be able to restore the item
if you have emptied the Trash since deleting
it - it has been permanently destroyed.
Emptying the trash: Warning: Make sure
you do not need any of the files or folders
in the Trash before you empty it, because
the files are deleted permanently once the
Trash is emptied.
If you want more functionality and ease
of use, you may want to consider using a
3rd party FTP program like WS_FTP. We have
put together a series of tutorials designed
to help you learn how to use WS_FTP.
back
to CPanel page
|