Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific error message when attempting a transfer exceeding the file path limit on Windows #5612

Open
CarlosHartmann opened this issue Sep 20, 2021 · 0 comments

Comments

@CarlosHartmann
Copy link

@CarlosHartmann CarlosHartmann commented Sep 20, 2021

The associated forum post URL from https://forum.rclone.org

https://forum.rclone.org/t/display-warnings-for-paths-that-exceed-windows-path-length-limit/26608

What is your current rclone version (output from rclone version)?

rclone v1.55.1

  • os/type: windows
  • os/arch: amd64
  • go/version: go1.16.3
  • go/linking: dynamic
  • go/tags: cmount

What problem are you are trying to solve?

When nounc is true in the conf (explanation) and a file transfer is attempted that would exceed the Windows path length limit, the error message reads "The system could not find the path". The problem is that this error message is ambiguous.

How do you think rclone should be changed to solve that?

An error message specifically for this case should appear. That could be solved by counting the path length before transferring on Windows machines. As I don't know how rclone works on the inside, I have no idea if this is realistic.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants