locked
Locked file ... or not? RRS feed

  • Question

  • I run SyncToy 2.1.0.0 between two Windows 7 Pro sp1 x64 machines.

    I recently sync'ed about 700 jpg files.  The summary screen noted:

    SyncToy action was 'Synchronize'.
    SyncToy options were:
        Active for run all
        All files included
        No files excluded
        Do not check file contents
        Include read-only files
        Include hidden files
        Include system files
        Backup older files (send to Recycle Bin)
        Some subfolders included
    SyncToy run took 00:13:39:596.
    Copied 1,843,210,792 bytes in 709 files in 00:13:39:596.
    Bytes per second 2,248,925.4, files per second 0.9.
    Avoided copying 43,717,156,079 bytes in 33,953 files that did not require action.
    Saved approximately 05:23:59:131 by not copying all files.
    Warning: 21 failures occured.
    You can retry by selecting "Run" again or select "Preview" to see
    the operations that remain to be performed.

    I looked at the log, where all 21 of the errors were similar to this:

    Error: Unknown error. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) Copying \\machine 1\path\filename.JPG to \\machine2\path\filename.JPG

    There were no other processes on either machine that were accessing any of those files.

    I re-ran "Preview" and SyncToy said that there was nothing to do.

    So I looked at the 21 files and in fact they had been copied.  Thus, the process did access the file and copied it .... so why were the errors thrown?

    Friday, March 7, 2014 12:38 AM