Uploading Files Via FTP:

These instructions assume the following:

  • You are the Site Administrator
  • You have set your initial remote directory in your FTP client to /var/www as specified in your "welcome" email.
After we send you the information that contains your IP address, username, and password, you are ready to start uploading files into your account. There are a number of FTP programs on the market that can be used to upload your files, but we suggest using the free WS_FTP (for PC), our File Manager in the Ensim Webppliance control panel, or Fetch for Macintosh. When using any type of FTP program, there are four essential things to keep in mind when connecting to your account:
  • Your host name would be your IP address or domain name as specified in the Welcome letter that we sent you. (no http:// in front, just the IP or domain name as your hostname). If your domain name has not yet propagated, you will need to use the IP address of your new site to connect.
  • Your username is the username we provided in the Welcome letter that we sent you.
  • Your password is the password we provided in the Welcome letter that we sent you.
  • You should never delete or edit any of the files or folders that are throughout your home directory unless you know exactly what you're doing. Even then, think twice.
Free Fetch Client (for Mac):
http://fetchsoftworks.com

Fetch Tutorial:
http://tmxnet.com/support/fetch.html

Below are screen shot examples of how WS_FTP  would look if you were to use it.

WS_FTP
This is what your initial login screen should looks like:

 Initial Directory:
Once you logon you will be in your domain's /var/www directory. There may be several files and directories already sitting in this directory. Each directory has its own purpose, but the only two you really need to worry about while starting out are
  • /var/www/html - This is your main html directory, and is where you will put all the html files for your domain.
  • /var/www/cgi-bin - This is where you will put your executable CGI (*.cgi, *.pl) files.
In your /var/www/html directory will be your default index.html file. The default index.html is the "under construction" homepage that you see when you access your site for the first time. index.html is sometimes called default.htm or index.htm depending on what program you're using. If the program you're using calls your homepage by a name other than index.html, be sure to delete the default index.html so that you don't have duplicate homepages.
Note to Microsoft FrontPage Users
Customers with FrontPage extensions installed on their site should use FrontPage publishing feature to transfer files. Using regular FTP can corrupt the extensions unless you know what you're doing. If FP extensions do become corrupt, we can always delete and reinstall them without deleting your site.

File and Directory Permissions
There are three levels of file permissions: read, write and execute.  In addition, there are three groups to which you can assign permissions: file owner, user group and everyone.  The command chmod followed by three numbers is used to change permissions.  The first number is the permission for the owner, the second for the group and the third for everyone.  Here are how the levels of permission translate:

0 = --- No permission
1 = --X Execute only
2 = -W- Write only
3 = -WX Write and execute
4 = R-- Read only
5 = R-X Read and execute
6 = RW- Read and write
7 = RWX Read, write and execute

Here are the most common file permissions used on an Ensim server:

chmod 644 [filename] Standard permissions for HTML file
chmod 755 [directory name] Standard permissions for directories
chmod 755 [filename] Standard permissions for scripts & programs. CGI scripts run under Ensim must have their permissions set to 755