HOW TO: Publish to an Unextended Web Server by Using FTP in FrontPage 2002

This article was previously published under Q318272
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
An unextended Web server is a Web server on which the Microsoft FrontPage Server Extensions are not installed. This article describes three methods that you can use to publish a FrontPage Web to an unextended UNIX Web server by using File Transfer Protocol (FTP).

back to the top

MORE INFORMATION

To display your Web on the Internet or on an intranet, you must first publish your Web. In FrontPage, you can publish your Web by clicking Publish Web on the File menu. If the FrontPage Server Extensions are installed on the Web server, FrontPage can communicate directly with the extensions on that server by means of Hypertext Transport Protocol (HTTP). However, if the FrontPage Server Extensions are not installed on the Web server, or if you are unsure whether they are installed, you can use FTP to publish your files to the Web server.

When you use FTP to publish your Web to a UNIX server, the default location for uploading files is your home directory. You must then change to the correct content directory. To ensure that you successfully publish your Web to the correct directory on your Web server, use any of the following methods.

NOTE: If you don't know the name of your FTP server or your log on information, contact the system administrator or Internet service provider (ISP) before you proceed.

back to the top

Method 1: Add the FTP Server to the FTP Locations List

  1. Start FrontPage, and then open your Web.
  2. On the File menu, click Publish Web.
  3. Click Browse.
  4. In the Look in box, click Add/Modify FTP Locations.
  5. In the Name of FTP site box, type the name of your FTP server.
  6. Under Log on as, click User, type your user name, and, in the Password box, type your password.
  7. Click Add, and then click OK.
The FTP site that you added is now listed under FTP Locations. To publish your Web, repeat steps 1 through 3, double-click the appropriate FTP site in the FTP Locations list, locate the folder on the UNIX server in which you want to publish your files, and then click Publish.

back to the top

Method 2: Specify the Absolute Path to the FTP Server

  1. Start FrontPage, and then open your Web.
  2. On the File menu, click Publish Web.
  3. Under Specify the location to publish your web to, type the absolute path to your content directory on the FTP server. Ensure that you add a %2f prefix to the path of your content directory.

    For example, if your content directory at the following Uniform Resource Locator (URL)
    http://www.example.com/mydocs
    is physically located on the Web server in the following path
    /usr/local/apache/htdocs/mydocs
    type the following path in FrontPage:
    ftp://ftp.example.com/%2fusr/local/apache/htdocs/mydocs
  4. Click Publish.
The %2f character sequence is a hexadecimal escape sequence for a forward slash character, which represents the root directory on the FTP server. Adding this prefix enables your FTP server to locate your content directory.

back to the top

Method 3: Create a Symbolic Link

Create a symbolic link in the home directory on the Web server that points to the location of your content.

For example, if your content directory at the following URL
http://www.example.com/mydocs
is physically located on the Web server in the following path
/usr/local/apache/htdocs/mydocs
create a link in your home directory by typing the following:
ln -s /usr/local/apache/htdocs/mydocs mydocs
After you have created the link, specify the location in FrontPage. To do this, follow these steps:
  1. Start FrontPage, and then open your Web.
  2. On the File menu, click Publish Web.
  3. Under Specify the location to publish your web to, type the location of your FTP server.

    For example, type ftp://ftp.example.com/mydocs.
  4. Click Publish.
back to the top
REFERENCES
For additional information about publishing your Web using FTP, click the article numbers below to view the articles in the Microsoft Knowledge Base:
198523 FP2000: How to Publish a FrontPage Web
219164 FP2000: Prompted for Password When Publishing Using FTP Locations
265159 FP2000: Publishing Using FTP Navigates to Home Directory, Not Content Directory
For more information about about how to publish a Web in FrontPage, click Microsoft FrontPage Help on the Help menu, type publish a Web in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

back to the top
front page
Properties

Article ID: 318272 - Last Review: 10/24/2013 09:59:09 - Revision: 1.1

  • Microsoft FrontPage 2002 Standard Edition
  • kbnosurvey kbarchive kbhowto kbhowtomaster KB318272
Feedback