FreeFile Sync version 5.11
Error: Cannot delete directory Windows Error Code 145: The directory is not empty
The problem is that FFS try to delele folder and after that delete files inside.
How to avoid these problem ?
ERROR Delete folder before delete files inside
- Posts: 4
- Joined: 24 Nov 2011
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
Usually this is caused by some application (often Windows Explorer) having a handle to a already deleted subdirectory still open. Once Explorer detects that the directory is deleted it will update its view and release the handle, but this is too late for FFS which already detected the error. Pressing retry in FFS will generally work now.
- Posts: 4
- Joined: 24 Nov 2011
I have a script doing that (scheduled task) so I receive this error very often.
Any workaround for this ?
Any workaround for this ?
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
Currently the best thing is to "retry" either manually or via script that restarts the sync. One more reason for:
[404, Invalid URL: https://sourceforge.net/p/freefilesync/feature-requests/257/]
[404, Invalid URL: https://sourceforge.net/p/freefilesync/feature-requests/257/]