luigidemasi commented on PR #20100:
URL: https://github.com/apache/camel/pull/20100#issuecomment-3596785930

   > I wonder if this works reliable on all SMBs ?
   > 
   > Well I ask because on camel-file we have a renameUsingCopy option. So it 
may be nice to have similar option for camel-smb, so we can do both kinds.
   
   That's a fair point. While SET_INFO is the standard mechanism in the MS-SMB2 
spec, real-world implementations can vary. I agree we should be conservative 
here.
   
   I’ve added `renameUsingCopy` (defaulting to true) and 
`copyAndDeleteOnRenameFail`. This ensures we retain the safe, 
backward-compatible behavior by default, but users can explicitly opt-in to the 
faster native rename if their environment supports it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to