Navigation

Views

Search
 

Toolbox

Uploading the files to your server

From Documentation

Now that you've successfully downloaded and unzipped the files, the next step is to upload the files to your server.

Contents

Choose an FTP Program

We'll use a method called 'FTP-ing' (FTP = File Transfer Protocol) to transfer files from your computer to your host's server. You'll need an FTP application in order to complete this process. Some popular FTP programs are SmartFTP (http://www.smartftp.com), CuteFTP (http://www.cuteftp.com) and FileZilla (http://filezilla.sourceforge.net/). If you don't have an FTP program installed, you can use Windows Explorer to transfer files.

Please note: It's very important that ALL your files are uploaded to the server in order for your site to work properly. Some 68 Classifieds customers have had problems using Windows Explorer for FTP'ing their files. More advanced FTP programs will actually report which files were not successfully uploaded. Each of the FTP programs mentioned above should be fine but of the three, we prefer FileZilla. We've included images from FileZilla and Windows Explorer in our example.

Connect to your server

Start your FTP program (or Windows Explorer).

Enter your FTP details (URL or IP, username and password). These should have been provided to you by your host. If you do not have this information, you'll need to contact your host to get this information. (For customers who want to use Windows Explorer, you will enter ftp://[email protected] in the address field to connect.)

Once you're connected, you should see two panes with files listed in each. One pane represents your local folders and files while the other pane represents the folders and files on your server.

In most circumstances, your host provides you with access to a directory just above your webroot. In other words, when you initially connect to your server with your ftp program, you should see a file named 'www' or 'public_html' (possibly both). Your website files will be uploaded to either the 'www' directory or the 'public_html' directory. Double-click the folder to view its contents.

If you have a new account, there may already be a few files and folders inside your public directory. These files were placed there by your host. If you have already installed a site, then you should see all the files and folders that make up yourexisting site.

Upload your files

You should decide whether you want your classifieds site to be your site (most customers opt for this method) or whether you want your classifieds to be in a subdirectory (such as http://www.mysite.com/myclassifieds/). Keep in mind that you will have the ability to create new pages and modify their contents from within the administration area.

--If you decide you want the classifieds to be your entire site --

1. In the local pane of your FTP program, navigate to the location where you unzipped the classified files. Open the 'upload' folder. This folder contains 14 folders (from 'administration' to 'thumbs') and 30 files (from 'ajax.php' to 'viewmember.php'). Highlight ALL the folders and files, then click-and-drag them to the server pane. It may take a few moments for all the files to transfer.

2. Filezilla users: You can view the progress of the file transfer by watching your 'queue' in the bottom frame of the FileZilla window. After FZ stops transferring files, there should be NO files listed in the bottom frame. If there are files listed, then there was a problem with the transfer. Highlight all the folders and files again and drag them to your server pane. A window should appear stating "Would you like to replace the file....?" Choose 'Skip' and place a check in the box "Always use this action when a file already exists". By skipping any existing file, you'll only be replacing the files that were not successfully uploaded initially.

--If you decide you want the classifieds to be in a subfolder --

1. We'll first need to create a folder inside your public folder. Most FTP programs let you right-click in the server pane and choose 'New Folder'. Name the folder anything you like (such as classifieds or ads). Once the folder has been successfully created, double-click the icon to open the folder.

2. In the local pane of your FTP program, navigate to the location where you unzipped the classified files. Open the 'upload' folder. This folder contains 14 folders (from 'administration' to 'thumbs') and 30 files (from 'ajax.php' to 'viewmember.php'). Highlight ALL the folders and files, then click-and-drag them to the server pane. It may take a few moments for all the files to transfer.

3. Filezilla users: You can view the progress of the file transfer by watching your 'queue' in the bottom frame of the FileZilla window. After FZ stops transferring files, there should be NO files listed in the bottom frame. If there are files listed, then there was a problem with the transfer. Highlight all the folders and files again and drag them to your server pane. A window should appear stating "Would you like to replace the file....?" Choose 'Skip' and place a check in the box "Always use this action when a file already exists". By skipping any existing file, you'll only be replacing the files that were not successfully uploaded initially.

PLEASE NOTE: All references in the rest of this user's manual will refer to your site address as "www.yoursite.com". If you have installed the script in a subfolder, remember to include the subfolder in the address to view the classifieds section in a browser (for example: www.yoursite.com/classifieds/).

CHMOD your folders and files

CHMOD is a command that stands for 'CHange MODe' and is used on *nix computers (Linux, Unix, etc) to set the permissions of files and folders. These permissions include read, write and execute. We need to change the permissions on 5 folders and 1 file:

   * catimages
   * license
   * photos
   * templates_c
   * thumbs
   * Connections/classifieds.php

If you're using SmartFTP, CuteFTP or Filezilla, right-click on the first folder. A menu should appear that says either 'File Attributes' (in FileZilla) or Properties/CHMOD (in SmartFTP and CuteFTP). Choose the applicable menu option for your FTP program. A new window will open that identifies the current permissions of the file. Replace the three-digit number in the permissions field with 777. Repeat these steps for all 5 folders and 1 file (the classifieds.php file in the connections folder) that are listed above.

If you are using Windows Explorer, setting the permissions will be a little different. In the server pane of Windows Explorer, right-click the folder or file and choose 'Properties' in the menu. A new window will open that has three rows and three columns of check boxes that you will use to set the permissions. Place a check in each of the nine boxes and press the 'OK' button. Repeat these steps for all 5 folders and 1 file (the classifieds.php file in the connections folder) that are listed above.