<div dir="ltr">Funny, this method didn't work when saving my dirfile on a different drive (same machine, but new drive is SSD and the old was not).<div><br></div><div>However, getting the modified date (instead of the length) seems to do the trick in this situation (I'm now querying both length and mod date just in case).  Also, querying just the "Reference" file is sufficient.  </div><div><br></div><div>Steve</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 3:53 PM, Steve Maher <span dir="ltr"><<a href="mailto:Stephen.F.Maher@nasa.gov" target="_blank">Stephen.F.Maher@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">To followup on this issue, to get around kst not seeing dirfile updates on Windows, I just do the following (Java) after writing new data.  <br><div><br></div><div><div><font face="courier new, monospace" size="1">    private void triggerKstUpdate(String archiveDirectory)</font></div><div><font face="courier new, monospace" size="1">    {</font></div><div><font face="courier new, monospace" size="1">        for (File file : new File(archiveDirectory).listFiles())</font></div><div><font face="courier new, monospace" size="1">        {</font></div><div><font face="courier new, monospace" size="1">            file.length();</font></div><div><font face="courier new, monospace" size="1">        }</font></div><div><font face="courier new, monospace" size="1">    }</font></div></div><div><br></div><div>Apparently asking Windows to calculate the file lengths triggers an update of the file metadata.</div><div><br></div><div>Steve</div><div><br></div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Aug 23, 2013 at 4:22 PM, Steve Maher <span dir="ltr"><<a href="mailto:Stephen.F.Maher@nasa.gov" target="_blank">Stephen.F.Maher@nasa.gov</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><span><div class="gmail_quote">On Fri, Aug 23, 2013 at 2:01 PM, Peter Kümmel <span dir="ltr"><<a href="mailto:syntheticpp@gmx.net" target="_blank">syntheticpp@gmx.net</a>></span> wrote:</div>

</span><div class="gmail_quote"><span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


    Hi Steve, sorry for not having any tips?</blockquote></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At least one ;)<br>
Have you noticed the "Update type" on the first page of the wizard?<br></blockquote><div><br></div></span><span><div>Yup.  Neither the Time Interval nor the Change Detection nor the No Update ;) cause an update to work.  Interestingly, the trick of doing a cygwin "ls" (or refresh in Windows Explorer) tickles only the Time Interval mode to work and doesn't help the Change Detection mode.  </div>

<div><br></div><div>Steve</div></span></div></div></div>
<br></div></div><span class="">_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org" target="_blank">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>