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.
Perform these steps if you are experiencing widespread synchronization problems.
Note: Dreamweaver re-creates the synchronization information for your site.
Deselect the Maintain Synchronization Information setting to delete the existing dwsync.xml files. The options vary between CS4 and CS5:
In the Advanced category of the Site Definition dialog box, choose Remote Info and deselect Maintain synchronization information.
a. In the Servers category, select the appropriate site and click the Pencil icon.
b. Select the Advanced tab and deselect Maintain synchronization information.
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.
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.