onedrive: Option to automatically rename folders instead of throwing 'invalidRequest: Name is reserved for list forms folder' error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 59.8k
- Forks
- 5.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 48
Description
The associated forum post URL from https://forum.rclone.org
N/A
What is the problem you are having with rclone?
Failed to copy: failed to make directory: invalidRequest: Name is reserved for list forms folder
This error occurs when attempting to create a path part with forms in it. Case does not seem to matter. For example:
Forms/Office Misc/Other Misc/TAX EXEMPT.PDF
We're hoping we can get an option that will allow automatically renaming such path parts. Instead of the above path, perhaps something like this:
_Forms/Office Misc/Other Misc/TAX EXEMPT.PDF
What is your rclone version (output from rclone version)
rclone v1.67.0-beta.7971.181ed5566
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.3737 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.3
- go/linking: static
- go/tags: cmount
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Windows, 64 bit
Which cloud storage system are you using? (e.g. Google Drive)
OneDrive
The command you were trying to run (e.g. rclone copy /tmp remote:tmp)
rclone copy Source: Target:
A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)
Available on request, though I think this is pretty straightforward.
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with rclone copy Source: Target: and trace the OneDrive directory-creation path for the forms name error. Define the option's rename behavior and verify that affected path parts are created with the alternate name instead of failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100