Jeroen van Erp
Jeroen van Erp
`STATUS_SHARING_VIOLATION` means that the directory is still open somewhere. If you're using multiple threads, ensure that you do proper locking. Also use try-with-resources blocks to ensure you have not forgotten...
@vadimd02 Any update on this? Else I'll close it.
My guess is then that VFS2 does something wrong. You might want to check in their code why there is still a handle open.
What is the `SmbConfig` you're using?
Have you tried adding `withEncryption(true)` to the SmbConfig?
Indeed, this looks like SMBv1. If you want to verify whether that is indeed the problem, you can add the `SmbConfig.withMultiProtocolNegotiate(true)` setting.
I'm not sure I understand your question?
@rrj12 I've slightly changed the locks, but I don't expect that to give a humongous ROI... However have you tried configuring the async transport layer using: `config.withTransportLayerFactory(new AsyncDirectTcpTransportFactory());`?
Did you try with the improved locking? Did this make a difference?
I've added the `enhancement` label to this. It's not on the top of the list, but would be nice indeed