The process cannot access the file because it is being used by another process

I am using Windows 10, NextCloud 3.5.0

I have set up uTorrent/BitTorrent to download files.

New files get downloaded to c:\Pending\Tutorial
on complete, the files will be moved to c:\Nextcloud_DONE/downloads\

Nextcloud will notice new files added and will attempt to upload but it will throw the following message

“The process cannot access the file because it is being used by another process.”

uTorrent / BitTorrent app has copied in the file after download but is still reading it to share to other users
NextCloud should be able to upload it and should not throw any errors.
NextCloud sync app should be able to read a file that is being read by another app.

Logs.
2022-05-06 08:57:06:777 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec “SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentchecksumtype.name || ‘:’ || contentChecksum, e2eMangledName, isE2eEncrypted, lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout FROM metadata LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1”
2022-05-06 08:57:06:778 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 8052429941439445994
2022-05-06 08:57:06:778 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec “SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentchecksumtype.name || ‘:’ || contentChecksum, e2eMangledName, isE2eEncrypted, lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout FROM metadata LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1”
2022-05-06 08:57:06:778 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\gui\tray\usermodel.cpp:631 ]: Item “_DONE/downloads/Tutorial001/Tutorial-Sample-Video.mkv” retrieved resulted in “The process cannot access the file because it is being used by another process.”
2022-05-06 08:57:06:778 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\gui\tray\usermodel.cpp:607 ]: Item “_DONE/downloads/Tutorial001/Tutorial-Sample-Video.mkv” retrieved resulted in error “The process cannot access the file because it is being used by another process.”
2022-05-06 08:57:06:778 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\gui\tray\activitylistmodel.cpp:546 ]: Error successfully added to the notification list: “The process cannot access the file because it is being used by another process.”
2022-05-06 08:57:06:783 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-10062\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 -8787998027952910409

Are you using e2e encryption on that folder? If so, that would be a problem.

if not, File a bug report to Issues · nextcloud/desktop · GitHub and share the link back here.

Not using e2e encryption on that folder. Server-side encryption is disabled.

I have reported the issue - [Bug]: youtube.com/watch?v=ap8xt1Ds7_4 The process cannot access the file because it is being used by another process · Issue #4502 · nextcloud/desktop · GitHub