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

Erroneous folder duplication #190

Open
nfebe opened this issue Jun 14, 2023 · 0 comments
Open

Erroneous folder duplication #190

nfebe opened this issue Jun 14, 2023 · 0 comments

Comments

@nfebe
Copy link
Contributor

nfebe commented Jun 14, 2023

The sftp-service or one of the api's it depends on, would sometimes fail to recognize an existing folder it created in the remote (permanent) and end up creating duplicates of the same folder.

How to reproduce

Colon (:) case

  • Run rclone copy -vv path/to/local/source/directory "local:/archives/ots-dev (0001-0000)/My Files/10-10:30"
    • Take note about the name of the destination folder "10-10:30" at end of the remote specification, so introducing a colon (:) into the name would lead the reproduction of this bug. It has currently been tested with numbers and letters so something like A:B would equally lead to the demonstration of this bug.
  • Reproduce via permaent-rclone-qa
    • Run the ./upload-test.py command with the neccesary parameters as described in permanent-rclone-qa upload tests and specify a --remote-dir that has colon for example --remote-dir=10-10:30 or --remote-dir=A:B
    • Example test-tree/special-files/10-10KB/ --remote-dir=10-10-9:40 --log-file=log-10-1KB.txt --remote=local --archive-path="/archives/ots-dev (0001-0000)/My Files/"

Verified cases summary

CaseUI Preview
Text with colon for example "A:B" Screenshot from 2023-06-14 20-04-16
Numbers with colon, for example time such as "10:30" Screenshot from 2023-06-14 19-50-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant