How to Synchronize Your Site in Adobe Dreamweaver CS6
The handy Adobe Dreamweaver CS6 site synchronization feature compares files between your local and remote sites to ensure that both are using the same, and most recent, versions of your site files. This check is essential if there’s a chance that files on the remote server may be more up-to-date or if you’re unsure which files have been updated since the last time you worked on a website.
Follow these steps to synchronize your local and remote directories:
If the Files panel isn’t already visible, choose Window→Files to open it.
Select the site you want to synchronize from the Show drop-down list in the upper-left corner of the panel.
Your local files appear on the right.
Click the Connect button at the top of the panel to connect to the remote server.
If you’re not viewing your Files panel in Expanded view, select Remote Server from the drop-down list at the top to display your remote files.
Click the Synchronize button at the top of the Files panel.
The Synchronize Files dialog box appears.
From the Synchronize drop-down list, select whether you want to synchronize the whole local site or only files selected in the Files panel (if any).
From the Direction drop-down list, select whether you want newer files put on the remote server, retrieved from the remote sever, or both.
To clean up unused or old files on the remote server, select the Delete Remote Files Not on Local Drive check box.
Click the Preview button to begin the process.
This step may take a while, depending on the number of files in your site.
The Synchronize Files dialog box appears and displays all changes that will be made between the local and remote folders.
Select, change, or delete any actions as necessary.
Click OK to have Dreamweaver complete the synchronization process.
Be careful when using the Delete Remote Files Not on Local Drive option; some files on the remote server are installed by the web hosting company and are necessary for the operation of your site.