Error 32 Two-way synchronisation with delete with PowerShell
I use this https://winscp.net/eng/docs/library_example_two_way_synchronize_delete for the synch with am SSH server and I keep getting the error 32.
(Error message translated from German to English)Error: Exception when calling Resolve with 1 argument(s): "The transfer completed successfully, but the temporary file "Appointments Overview SS2017.pdf.filepart" could not be renamed to the target file "Appointments Overview SS2017.pdf". If the problem persists, try turning off transfer continuation support.
System error. Code: 32.
The process cannot access the file because it is used by another process
The Error occurs with pictures and maybe also with other files.
I don't know of any process that accesses the files and no write protection or similar has been set.
The error occurs on different laptops and also when I open PowerShell as admin and also with different folders that contain images.
Error also occurs with deactivated four program
It occurs sometimes after 10 files, sometimes after 30 or more files.
If anyone could help me I would be very grateful.