Publish files and folders to a file system
Set the remote Web site properties
- On the View menu, click Remote Web Site.
- At the top of the document window, click Remote Web Site Properties.
- On the Remote Web Site tab, under Remote Web server type, click File System.
- In the Remote Web site location box, type the address of the remote Web site that you want to publish folders and files to
— for example, C:\My Web Sites\Web Site 1 if the location is on your computer or \\MyNetworkShare\My Web Site if the location is on a file server — or click Browse to locate the site. - 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.
- Click OK.
Mark 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.
Publish files and folders to a file system
- Under the Remote Web site pane, under Publish all changed pages, click Local to remote.
- 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.