ONLINEPROOFINGSERVICE.COM

online proofing and ordering - www.onlineproofingservice.com

Menu


have a few pages in your site, but if you have a large site and you make frequent updates, this feature is a wonderful way to


make sure all the changes that you make get to your server. Dreamweaver also confirms which files are updated after you complete the synchronization. Follow these steps to synchronize your Web site: 1. Select the name of the site you want to work on in the Files panel drop-down list. If you havent already defined your site, you first need to follow the stepby- step instructions in the "Defining a site" section earlier in this chapter. 2. Click the Connects to Remote Host button to log on to your remote site. 3. Click the Expand/Collapse button at the top on the far-right side of the Files panel. The Site dialog box displays both the remote and local views of the site, as shown in Figure 2-12. (To collapse this dialog box, click the same Expand/Collapse button a second time.) Figure 2-12: The expanded Site dialog box lets you view both remote and local files at the same time. 66 Part I: Fulfilling Your Dreams 4. From the menu bar, choose Site?Synchronize Sitewide. The Synchronize Files dialog box appears, as shown in Figure 2-13. 5. Choose whether to synchronize the Entire Site or Selected Files Only from the Synchronize drop-down list. 6. From the Direction drop-down list, choose which option you want to use to copy the files: Put Newer Files to Remote: This option copies the most recently modified files from your local site to the remote site. Click the Delete Remote Files Not On Local Drive box if you want those files removed from your Web site. Get Newer Files from Remote: This option copies the most recently modified files from your remote site to the local site. Click the Delete Local Files Not On Remote Server box if you want to remove those files from your local copy. Get and Put Newer Files: This option updates both the local and remote sites with the most recent versions of all the files. 7. Make sure the Delete Remote files Not On Local Drive box is unchecked. Be careful of this feature. As a general rule, I recommend you leave it unchecked because you may have folders and files on the server, such as log files, that do not exist on your hard drive, and you dont want to delete them inadvertently. 8. Click the Preview button. The Site FTP dialog box displays the files that are about to be changed. Now you have the option to verify the files you want to delete, put, and get. If you dont want Dreamweaver to alter a file, deselect it from the Site FTP dialog box now or forever live with the consequences. Figure 2-13: The Synchronize Files dialog box enables you to