Claris Home Page can upload your Web pages to a remote server as well as download them from a server. Using this feature, you can make your Web pages available to everyone on the World Wide Web or share pages with other users who have access to the same remote server.

Claris Home Page uploads and downloads the pages using FTP (File Transfer Protocol), a protocol especially suited to transferring information over the Internet. You can upload individual Web pages or a whole Web site at one time. You can also download individual Web pages.

To upload a whole Web site at one time, Claris Home Page uses a special file called a site definition file.

Consolidating image files

One of the benefits of using a site definition file to upload your Web site is that you can choose to have the images on your Web pages consolidated. When Claris Home Page consolidates the images on your Web pages, it stores the image files in a specific location on the server, either in an images directory or in the same directory as the Web page that the image appears on, and the image references on the Web pages are changed to reflect the new location of the image files. This ensures that the image references on your Web pages won't be broken when you upload your Web site so the images will display correctly.

Before you start

Before you upload to or download files from a remote server, you need to ask your Internet Service Provider the following questions:

Uploading Web pages to a remote server

Once you have created all of the pages in your Web site, you're ready to upload them to a remote server. You can upload one page at a time or a whole Web site at a time. For more information on uploading a whole Web site at a time, see Uploading a Web site to a remote server.

The following feature is only available in the complete version of Claris Home Page 2.0. When you're ready to upgrade, choose How To Upgrade from the Help menu.

To upload a single Web page to a remote server:

  1. Open the Web page.
  2. Choose Remote from the File menu and then choose Remote Save.
    The Remote Save dialog box appears.

  3. Specify the location where you want the page saved.

    In this text box

    Type this

    Server Name

    The name of the remote server

    User Name

    The name of your account

    Password

    The password for your account

    Remote Directory

    The directory on the remote server where you want the page loaded (for example, public/pages)

    Remote File

    The filename you want the uploaded page to have. Note that you may want this name to be the same as the name of the page on your local system or you may not.


    Instead of retyping your FTP password each time you save a Web page, you can save it. Choose Preferences from the Edit menu, choose General from the pop-up menu or click the General tab, and select Remember FTP Passwords.

  4. Select Upload Image Files if you want any associated GIF or JPEG image files uploaded, too.
  5. Click OK.
    If you chose the Upload Image Files option and the Web page is in a folder that you've already created a site file for, the GIF and JPEG image files will be consolidated and uploaded according to your image policy choices. For more information on site files and image policy choices, see Creating site definition files.

    If you chose the Upload Image Files option and the Web page isn't in a folder that you've already created a site file for , Claris Home Page displays a message. Click Yes to upload the GIF and JPEG images to the same directory as the Web page and to update the references to those image files in your Web page.

    The page is saved in the specified location on the remote server.

The following feature is only available in the complete version of Claris Home Page 2.0. When you're ready to upgrade, choose How To Upgrade from the Help menu.

Downloading Web pages from a remote server

You can download Web pages from a remote server to save them locally or to revise them and upload them again.

To download a single Web page from a remote server:

  1. Choose Remote from the File menu and then choose Remote Open.

    The Remote Open dialog box appears.

  2. Specify the location of the remote Web page.

    In this text box

    Type this

    Server Name

    The name of the remote server

    User Name

    The name of your account

    Password

    The password for your account

    Remote Directory

    The name of the directory on the remote server where the Web page you want to open is located (for example, public/pages)

    Remote File

    Specify the filename of the remote Web page


    Instead of retyping your FTP password each time you download a Web page, you can save it. Choose Preferences from the Edit menu, choose General from the pop-up menu or click the General tab, and select Remember FTP Passwords.

  3. Click OK.

A copy of the Web page is opened on your system.

To save the Web page on your system, choose Save or Save As from the File menu. If you make changes to the Web page and want to overwrite the remote version of it, upload it to the same location on the remote server where it is stored. (See Uploading Web pages to a remote server.)

If you make changes to the Web page and you want to revert to the copy on the remote server, choose Remote from the File menu and then choose Replace with Remote. Specify the location of the remote copy, and click OK.

Uploading a Web site to a remote server

You can upload an entire Web site to a remote server at one time. You can also use Claris Home Page to quickly update Web pages in your Web site and make sure that all the images used in your Web site are uploaded correctly.

To upload a Web site, you move all of the Web site files and folders into a single folder on your system, create a site definition file in that folder, and then click the Upload Site button in the site definition file.

Moving Web site files into a single folder

Before you upload your Web site, you need to move all of the files in your Web site into a single folder.

You can place the files in subfolders within the main Web site folder if you want. Just remember to update any links that might be affected by moving the files.

You can place the image files used in your Web pages into the Web site folder or you can let Claris Home Page consolidate them for you automatically. (For more information on image consolidation, see Creating site definition files next.)

Creating site definition files

To upload your Web site, you create a site definition file that specifies where and how you want your Web site uploaded.

Important Make sure to save your site definition file in your Web site folder. When you upload a Web site, Claris Home Page uploads all files in the folder where the site definition file is located and all files in subfolders within that folder.

To create a site definition file:

  1. Choose New from the File menu and then choose Site.

    A message appears.

  2. Click OK to close the message.

    The Save dialog box appears.

  3. Name and save the site definition file.

    A new site definition file appears.

  4. Specify the FTP settings for the site definition file.

    Use this option

    To specify this

    Server Name

    The name of the remote server

    User Name

    The name of your account

    Remote Directory

    The name of the directory on the remote server where the Web page you want to open is located (for example, public/pages)

    Before Upload

    How image files are consolidated Choose Never Consolidate if you don't want the images on your Web pages consolidated when you upload your Web site. Choose Always Consolidate if you want your image files consolidated every time you upload your Web site. Choose Ask Me before Consolidating if you want Claris Home Page to ask you if you want your image files consolidated every time you upload your Web site.

    Only upload files that have changed since the last upload

    To only upload the Web pages in your Web site that you have changed on your local system since the last time you uploaded them.

  5. Choose Image Policy from the pop-up menu or click the Image Policy tab to see more settings.

  6. Specify the image policy settings.

    Use this option

    To specify this

    Warn about missing images during consolidation

    To have Claris Home Page give you a message when it can't find an image to consolidate. For example, Claris Home Page wouldn't be able to consolidate an image file if you copied the image from a server you are no longer connected to or from a CD that is no longer in your CD ROM drive.

    Store Image Files

    Where image files are stored on the server when they are consolidated. Choose In an Image Directory to have Claris Home Page store images in an image directory. Choose With the HTML File to have Claris Home Page store image files in the same directory as the Web pages on which the images are used. Choose Ask Me Each Time to decide on a file-by-file basis where to move each image file referenced on your site's Web pages. For more information on consolidation, see Consolidating image files.

    Image folder

    The name of the directory where you want consolidated image files stored. Claris Home Page will create the image directory automatically as a subdirectory in your Web site directory.

    Note This option only applies if you set the Store Image Files field to In an Image Directory.

  7. Choose Save from the File menu to name and save your site definition file.
  8. Click Upload Site.
  9. Enter the password for your account and click OK.

    Your Web site is uploaded to the remote server.

Tip You can consolidate the image files in a Web site any time you like. Just open the site definition file for the Web site, choose Image Policy from the pop-up menu, specify how you want the image files consolidated, and click Consolidate,

Checking statistics

Once you have created a site definition file for a Web site, you can check the Web site's statistics.

  1. Open the site definition file.
  2. Choose Statistics from the pop-up menu or click the Statistics tab.

  3. Click Refresh Now and read the appropriate field.

    Field Name

    Definition

    Local Directory

    The name of the folder on your local system that will be uploaded.

    Number of pages

    Number of Web pages in the Web site.

    Total Size

    The total size of all of the files in the Web site listed in kilobytes.