Microsoft KB Archive/301553

= How to publish to an unextended Web server by using FTP in FrontPage 2000 =

Article ID: 301553

Article Last Modified on 1/9/2006

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q301553





For a Microsoft FrontPage 2002 version of this article, see 318272.

IN THIS TASK
SUMMARY
 * Method 1: Add the FTP Server to the FTP Locations List
 * Method 2: Specify the Absolute Path to the FTP Server
 * Method 3: Create a Symbolic Link

REFERENCES



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).

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
 Start FrontPage, and then open your Web. On the File menu, click Publish Web. 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

 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.
 * 1) Click Publish.

back to the top

