Troubleshoot synchronization issues

When you use Adobe Dreamweaver CS4 and CS5 to synchronize files or upload files to a server, you experience one of the following issues:

  • When you put files, Dreamweaver warns you that the remote file has changed on the server: "my_file.htm has changed on the remote server since your last get or put operation. Putting it could overwrite changes to the file. Do you wish to put the file anyway?" However, you are sure that the remote files haven't changed.
  • The Synchronize preview dialog box does not correctly list the files that require synchronization.
  • The Synchronize preview dialog box says that no synchronization is necessary, but you know that some files have changed.

Note: Synchronization underwent major enhancements in Adobe Dreamweaver 8. The current version of Adobe Dreamweaver CS4 and CS5 uses similar technology.

Complete one of the following two solutions, depending on how widespread the synchronization problems are.

Solution 1: Delete the specific dwsync.xml files.

Perform these steps if only a few of your files have synchronization problems.

  1. Close Dreamweaver.
  2. In Windows Explorer or Mac Finder, browse to the folder that contains the files with synchronization problems.

  3. For each folder containing files with synchronization problems, locate the _notes folder and delete the dwsync.xml file inside it.


    Note: The dwsync.xml files only reside locally. Dreamweaver never uploads the dwsync.xml files to the server, and there is no reason to upload them to the server.

  4. Relaunch Dreamweaver and verify that the problem is resolved.

Solution 2: Disable the "Maintain synchronization information" setting.

Perform these steps if you are experiencing widespread synchronization problems.

Note: Dreamweaver re-creates the synchronization information for your site.

  1. Choose Site > Manage Sites, select the site you want to edit, and click Edit.
  2. Deselect the Maintain Synchronization Information setting to delete the existing dwsync.xml files. The options vary between CS4 and CS5:

    CS4

    In the Advanced category of the Site Definition dialog box, choose Remote Info and deselect Maintain synchronization information.

    CS5

    a. In the Servers category, select the appropriate site and click the Pencil icon.

    b. Select the Advanced tab and deselect Maintain synchronization information.

  3. Close Dreamweaver.
  4. Verify that all the dwsync.xml files have been deleted from your local root folder and all its subfolders.

    Note: The dwsync.xml files are located in the _notes folders, which are hidden by default in Dreamweaver. So check for the _notes folders and dwsync.xml files in the Windows Explorer or Mac file browsers. The dwsync.xml files only reside locally. Dreamweaver never uploads the dwsync.xml files to the server, and there is no reason to upload them to the server.

  5. Reopen Dreamweaver, choose Site > Manage Sites, and edit the same site you selected in step 1.
  6. Reselect the Maintain Synchronization Information setting. Refer to step 2 above for option differences between CS4 and CS5.
    Note: Dreamweaver re-creates the dwsync.xml files as you transfer files to and from the server.

  7. Verify that the problem is resolved.

Additional information

When you put or get a file in Adobe Dreamweaver CS4 and CS5, Dreamweaver locally stores the remote and local date/time stamps in files called dwsync.xml. These files are located in hidden _notes folders in the same folder as the files being transferred. Occasionally, the dwsync.xml files can become corrupted.

For more information about Dreamweaver synchronize features, see Synchronize files.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy