Search all of Office.com
Get started with Office Web Apps: (c) Microsoft
 
Support / Frontpage / FrontPage 2003 Help and How-to / Publishing Web Sites
 
 

Publish your Web site to an FTP or WebDAV server

Applies to: Microsoft Office FrontPage 2003

 
Applies to
Microsoft® Office FrontPage® 2003

Using FrontPage 2003, you can publish the files and folders in your Web site to servers that support Web-based Distributed Authoring and Versioning (WebDAV) (WebDAV: An application protocol for publishing and managing files on the World Wide Web. It provides support for storing information about a file, so authors can change a file and its properties without overwriting other changes to that file.) or File Transfer Protocol (FTP) (File Transfer Protocol (FTP): A protocol for copying files to and from remote computer systems on a network or the Internet. FTP sites are frequently used on the Internet for making files and folders publicly available.). Where earlier versions of FrontPage do not support Passive FTP, FrontPage 2003 supports both Active and Passive FTP.

Support for FTP and WebDAV

Using FrontPage 2003, you start by authoring a local or disk-based Web site and then you put, get, synchronize, or publish it to exchange file with the remote copy of the site on the FTP-based or WebDAV-based Web server.

In FrontPage, a local Web site is the source Web site that is opened in FrontPage. This can include your desktop or laptop computer. A remote Web site is the destination site that you publish to — in this case, an FTP-base or WebDAV-based server. You can synchronize the two sites to ensure that both copies are up to date.

You set the FTP and WebDAV connection parameters in the Remote Web Site Properties dialog box. The user interface is extremely straightforward. The connection parameters are readily available the first time you set up the local copy of the site, and they are easy to find thereafter.

When you publish your files or folders to a server that supports FTP or WebDAV, you must know the server name and path as well as your user name and password. If you are unsure about your user name, password, or server location, contact your Internet service provider (ISP) (ISP: A business that provides access to the Internet for such things as electronic mail, chat rooms, or use of the World Wide Web. Some ISPs are multinational, offering access in many locations, while others are limited to a specific region.) or Web site administrator.

There are some operations that you will not be able to perform on an FTP-based or WebDAV-based server, including creating usage analysis reports and using the hit counter, certain form handlers, nested subwebs, and custom link bars. For a complete list of FrontPage components unavailable to you when publishing to FTP-based or WebDAV-based servers, see Components That Require FrontPage 2002 Server Extensions

Support for Passive FTP

If your organization has a firewall in place to protect the internal network from the outside world, FrontPage 2003 provides support for Passive FTP. Passive FTP is a more secure form of data transfer in which the flow of data is set up and initiated by the FTP client rather than by the FTP server program. A firewall recognizes input from the outside only in response to client or user requests for that input.

Collaborate with others on your Web site

In collaborative work environments, you can use FrontPage and Macromedia Dreamweaver — or another FTP client — to edit the same site over FTP. It's important to note, however, that the source control functionality in FrontPage is turned off by default, so you must turn it on. When you check files out, you lock files so that other authors do not overwrite your edits.

Case scenario 1: Passive FTP and Contoso Pharmaceuticals

Clinical Research Assistant Patricia Doyle likes to stay after business hours at Contoso Pharmaceuticals to work on her personal Web site using FrontPage 2003. She is currently updating the site so that it has a fresh look.

For security reasons, the company firewall does not receive incoming connections through randomly high ports. Using Passive FTP, Patricia's client computer initiates the connection with the Internet service provider's (ISP) (ISP: A business that provides access to the Internet for such things as electronic mail, chat rooms, or use of the World Wide Web. Some ISPs are multinational, offering access in many locations, while others are limited to a specific region.) FTP-based server.

In her site, Patricia edits all but two pages that do not require changes and then opens the Remote Web Site Properties dialog box to ensure that the Passive FTP box is selected. In Remote Web Site view, she marks the two unchanged pages as Don't Publish and then clicks Publish Web site.

Case scenario 2: WebDAV and the Coho Winery

Mark Lee is one of three staff Web developers who maintain the Coho Winery Web site. The two most popular pages in the site are the Wine Sales and Events pages. The winery gets about half of its business selling wine online, so Mark often adds sales promotions to the Wine Sales page. Additionally, the winery hosts many concerts, wine tasting events, and other affairs. Mark constantly updates the Events page with new promotional events.

Coho Winery was publishing to an FTP server but recently switched ISPs. The new provider hosts a WebDAV server. To publish this time, Mark opens the Remote Web Site Properties dialog box, sets the connection parameters from FTP to WebDAV, and then enters the path to the remote Web site location. He also selects the Encrypted connection required (SSL) check box. Now Mark is ready to publish.

Remote Web Site Properties dialog box

In Remote Web Site view, Mark selects only the eWineSales.htm and Events.htm files and then clicks Publish Selected Files on the shortcut menu.

Publish selected files on shortcut menu

Procedures for publishing your Web site to an FTP or WebDAV server

The procedures that follow enable you to set a remote Web site location, publish files and folders to an FTP server or a server running WebDAV, and synchronize the local and remote sites.

Set a remote Web site location

  1. On the View menu, click Remote Web Site.
  2. At the top of the document window, click Remote Web Site Properties.
  3. Under Remote Web server type, click the type of Web server that you want to publish your Web site to.
  4. By the Remote Web site location box, click Browse.
  5. Locate and click the remote Web site location that you want, and then click Open.

Publish files and folders to an FTP server

To publish files and folders in a Web site to a Web server that supports File Transfer Protocol (FTP) (FTP: A communication protocol that makes it possible for a user to transfer files between remote locations on a network. This protocol also allows users to use FTP commands, such as listing files and folders, to work with files on a remote location.), you must open and save a copy of the site to your computer, edit the files and folders in that copy, and then publish the updated files and folders to the server.

Do the following:

ShowSet the remote Web site properties

  1. On the View menu, click Remote Web Site.
  2. At the top of the document window, click Remote Web Site Properties.
  3. On the Remote Web Site tab, under Remote Web server type, click FTP.
  4. In the Remote Web site location box, type the address, including the FTP protocol, of the remote Web site that you want to publish folders and files to — for example, ftp://example.com — or click Browse to locate the site, and then click Open.
  5. If you want to view a specific folder when you connect to the site, in the FTP directory box, type the path to the folder — for example, www/images.
  6. If the server that hosts the remote Web site uses a different port (port: One of the network input/output channels of a computer running TCP/IP. On the World Wide Web, it usually refers to the port number a server is running on. One computer can have many Web servers running on it, but only one server can run on a port.) each time you publish files and folders to the site, select the Use Passive FTP check box.
  7. Do any of the following:
    • To remove specific types of code from Web pages as they are being published, on the Optimize HTML tab, select the options you want.
    • To change the default options for publishing, on the Publishing tab, select the options you want.
  8. Click OK.

ShowVerify and add file name extensions to transfer as ASCII

  1. On the Tools menu, click Options.
  2. Click the FTP tab.
  3. If the file name extension for the type of file you plan to publish is not in the list, under New Extension, type the file name extension, and then click Add.

 Note   If the file name extension for a file type does not appear in the list and you do not add a new extension, FrontPage publishes files of that type in binary format.

ShowMark files that you do not want to publish

  • In the Local Web site pane, right-click each file that you do not want to publish, and then click Don't Publish on the shortcut menu.

ShowPublish files and folders to a Web server that supports FTP

  1. In the Remote Web site pane, under Publish all changed pages, click Local to remote.
  2. Click Publish Web site.

 Note   If you stop a publish in progress, files that have already been published will remain on the remote Web site.

Publish files and folders to a WebDAV server

If your site does not already exist locally, to publish files and folders in a Web site to a Web server that supports Web-based Distributed Authoring and Versioning (WebDAV) (WebDAV: An application protocol for publishing and managing files on the World Wide Web. It provides support for storing information about a file, so authors can change a file and its properties without overwriting other changes to that file.), you must open and save a copy of the site to your computer, edit the files and folders in that copy, and then publish the updated files and folders to the server.

Do the following:

ShowSet the remote Web site properties

  1. On the View menu, click Remote Web Site.
  2. At the top of the document window, click Remote Web Site Properties.
  3. On the Remote Web Site tab, under Remote Web server type, click WebDAV.
  4. In the Remote Web site location box, type the Internet address, including the protocol, of the remote Web site that you want to publish folders and files to — for example, http://www.example.com — or click Browse to locate the site.
  5. Do any of the following:

To use SSL connections on your Web server, the server must be configured with a security certificate from a recognized certificate authority. If the server does not support SSL, clear this check box. Otherwise, you will not be able to publish folders and files to the remote Web site. If you are not sure whether your Web site supports SSL, check with your Web server administrator or Internet service provider (ISP) (ISP: A business that provides access to the Internet for such things as electronic mail, chat rooms, or use of the World Wide Web. Some ISPs are multinational, offering access in many locations, while others are limited to a specific region.).

  • To remove specific types of code from Web pages as they are being published, on the Optimize HTML tab, select the options you want.
  • To change the default options for publishing, on the Publishing tab, select the options you want.
  1. Click OK.

ShowMark files that you do not want to publish

  • In the Local Web site pane, right-click each file that you do not want to publish, and then click Don't Publish on the shortcut menu.

ShowPublish files and folders to a Web server that supports WebDAV

  1. In the Remote Web site pane, under Publish all changed pages, click Local to remote.
  2. Click Publish Web site.

 Note   If you stop a publish in progress, files that have already been published will remain on the remote Web site.

Synchronize between a local and remote Web site

  1. On the View menu, click Remote Web Site.
  2. Do one or both of the following:
    • In the Local Web site pane, right-click each file that you do not want to publish, and then click Don't Publish on the shortcut menu.
    • In the Remote Web site pane, right-click each file that you do not want to publish, and then click Don't Publish on the shortcut menu.
  3. In the Remote Web site pane, under Publish all changed pages, click Synchronize.

Use Remote Web Site view

For more information about using Remote Web Site view in FrontPage 2003, see Publish your Web sites by using Remote Web Site view.