Merged
Conversation
…sable auto creating missing parent directories
larryrider
reviewed
Oct 24, 2025
Contributor
larryrider
left a comment
There was a problem hiding this comment.
Check the new SonarCloud issue too, it should be easy to fix
ec35445 to
5d676d4
Compare
|
larryrider
approved these changes
Oct 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This functionality aims to solve a recurring error for users that try to do a sync and get the
Failed to copy: 409 ConflictandFailed to copy: object not founderrors.Failed to copy: 409 Conflict
The
Failed to copy: 409 Conflictwas due to the fact that if you tried to sync a file in which parent path did not exist, the webdav server would throw rightfully a 409 conflict error.I say rightfully because in WebDAV's RFC 4918 we can see the following:
It is true that other webdav implementations already have the functionality of recursively creating the path of a file if parent does not exist.
we have implemented the
--createFullPathflag in the webdav config to enable said feature. (By default this feature it wont be enabled)if after enabling it, you want to disable it again, you must use `--no-createFullPath
Failed to copy: object not foundthis bug has been solved adding a 500ms wait after creating a file so that when rclone is doing the
PROPFINDoperation, it can consistently verify that the file indeed was created, just like we do now with folders.