Delayed Write Error
<p>I developed a backup program for my important directories.</p>

<p>This program writing is the data to a disk on a USB flash drive. Sometimes i get an error:</p>

<pre><code>delayed write failed (id:50)
</code></pre>

<p>Is there any way to solve it in C# ? Writing directly to the DOK by using flags wasn't successful. it's probably caused by the cache but I can't disable it via the policies of the DOK.  </p>

<p>The copy method:  </p>

<pre><code>FileInfo backupFile = file.CopyTo(theDokDir + fileToCopy.Name);
</code></pre>
