Skip to main content
March 28, 2022
Question

Trying to understand the "dwsync.xml" files in the "_notes" folders – "Dst=1|2|-1" and the timestamp

  • March 28, 2022
  • 4 replies
  • 4417 views

I'm using Dreamweaver 21.2 (latest version) and I use the FTP sync feature (I activated the "keep sync information" setting in the site definition) and currently I'm trying to analyze a problem where DW want's to sync although there has nothing changed on both sides (remote and local), especially after the daylight saving time started or ended.

 

In the "_notes" folders there are the "dwsync.xml" files with the sync information. There are lines like this in them:

<file name="file.js" server="example.com" local="132883841423432900" remote="132883842000000000" Dst="1" />

 Now I'm wondering what the "Dst=" means. Sometimes it's 1, sometimes 2 and sometimes -1. And how to read those timestamps? They are obviously no UNIX timestamps.

 

I could not find anything on the web concerning this. Do you have an idea?

This topic has been closed for replies.

4 replies

Liam Dilley
Inspiring
July 4, 2022

This thread is really messy.
Starting with the most important thing...
1. King - Are you all good with your issue?

2. Any mod / MVP / ACP stuff should be discussed in those correct channels or DM, not on a thread.

3. Do not want to cause offense or burst any bubbles but managing files and deployment discussions here are far from modern approaches. In context to Dream weaver, options to use things to avoid - All good information. Should anyone really be doing any of these through DW - No, not really.

BenPleysier
Community Expert
Community Expert
July 4, 2022

Don't be a party pooper, this forum, like its name sake, is slowly dying. This discussion, and others like it, keeps it on life support.

 

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
B i r n o u
Legend
July 3, 2022

@17526090 , or any modertors around here... who marked this two answers as correct...

 

the question was

quote

In the "_notes" folders there are the "dwsync.xml" files with the sync information. There are lines like this in them:

<file name="file.js" server="example.com" local="132883841423432900" remote="132883842000000000" Dst="1" />

 Now I'm wondering what the "Dst=" means. Sometimes it's 1, sometimes 2 and sometimes -1. And how to read those timestamps? They are obviously no UNIX timestamps.

 

I could not find anything on the web concerning this. Do you have an idea?

By @17526090

 

and none of the answer marked as correct answer to the asked question... ?...

 

@Nancy OShea , @BenPleysier , @Others Moderator ... Shouldn't this question remain open?

BenPleysier
Community Expert
Community Expert
July 3, 2022

You are correct @B i r n o u . I have unmarked the so-called correct answers.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Legend
March 28, 2022

Personally I've never used that feature & I would urge caution to anyone allowing a program to auto sync between local files & live remote site.

Paul-M - Community Expert
April 3, 2022

It's no auto-sync, you always get an overview of files which DW wants to sync (like in any sync software, no matter whether it's for local or remote files).

 

How do you know which files you have to upload if there are hundreds of them and dozens of edited ones?

Nancy OShea
Community Expert
Community Expert
April 3, 2022
quote

How do you know which files you have to upload if there are hundreds of them and dozens of edited ones?

============

In Files Panel, right-click on local site folder name and choose SELECT > Recently Modified.  Select a date range. 

Recently modified files will be highlighted.  Upload them by hitting the UP arrow.

 

Check your remote server's clock to ensure it is set correctly.  Put this code into a new PHP file.  Save as Time.php and upload it to your server.

 

 

<p><?php echo date("D M d, Y G:i a"); ?></p>

 

 

If your server's date & time are wildly different from your computer's date & time, you will have problems with file sync. That's not a Dreamweaver problem.  Contact your hosting provider.

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
March 28, 2022

I have no idea.  I never sync local & remote files.  It would be catastrophic to workflow if I did. 

Standard GET and PUT arrows do all I need without file syncing.

 

I'm guessing DST is a response code sent by the server.   But why does it matter?

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
March 29, 2022

In follow-up,  right-click on Local Files in your Files Panel.  Select Modified.  See screenshots.

 

 

Expand Files Panel.  Connect to server to show Remote and Local files side-by-side. Compare date & time stamps to ensure they match.

 

 

Maybe that's what you're looking for?

 

 

Nancy O'Shea— Product User & Community Expert
April 3, 2022

Thanks. Although this is not exactly what I was looking for, I did not know about extra columns in the file browser and now I can see that the remote modified times DW shows are almost completely wrong. And that is on two completely different servers. So maybe/obviously that's the reason for DW wanting to sync in a wrong way.

 

And now I think that DST means "daylight saving time" or at least it has to do with the time zone. Because when it shows "2", the time in DW (locally!) is identical to the real time of the file. If it's "1", it's one hour behind and if it's "-1" it's 24 hours behind. I'm in time zone GMT+2, without daylight saving time +1.

 

I think I will report this as a bug, although it's there since Macromedia Dreamweaver (at lest on my computer) and probably will not be fixed.

 

But why would syncing be catastrophic to workflow? If you update several files, how do you upload them later? Find out which have changed with an external file explorer and then upload one by one? Because sometimes it's not possible to directly upload a modified file, because you have to finish other files and upload them all together. If this takes days, you probably will not know which files you modified. At least this is the case in my projects. For me, the sync feature is very important.