22.1. Use the Copy Web Site Tool

The easiest way to transfer files between your workstation and the remote Web server is the Copy Web Site tool, as shown in Figure 22-1. The tool connects to the remote site by using the file system, the FTP protocol, and the FrontPage Server Extensions for Internet Information Services (IIS).

Figure 22-1. The Copy Web Site tool.

22.1.1. Connecting via FTP

File Transfer Protocol (FTP) is the most common way to deploy ASP.NET files to a Web site on the Internet. The hosting service provides the username, password, and FTP server name that you require. Follow these steps to connect by using FTP:

  1. In Visual Web Developer, open the Web project that you want to deploy.

  2. Choose WebsiteCopy Web Site.

    The Copy Web tool appears. (Refer to Figure 22-1.)

  3. Click the Connect button (near the top of the tool area).

    The Open Web Site dialog box appears, as shown in Figure 22-2.

  4. In the left panel, click FTP Site.

  5. In the Server box, enter the name of the FTP server, for example, ftp.kjopc.com.

  6. Type the credentials (username and password) in the corresponding boxes.

  7. Click Open.

If the remote storage folder is below the root of the FTP site, save time by entering the path to ...

Get ASP.NET 3.5 For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.