From 545b142ad484d53fa05732640fc29164af7fda61 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 27 Oct 2026 12:27:29 +0000 Subject: [PATCH] linkbox: document lower cased extensions and name(1) renames Linkbox converts file extensions to lower case on upload, and renames an uploaded file to name(1) if its name is the start of the name of a file already in the directory, e.g. "apple" next to "applebanana". Document both and ignore the TestTransform cases which they break. --- docs/content/linkbox.md | 9 +++++++++ fstest/test_all/config.yaml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/docs/content/linkbox.md b/docs/content/linkbox.md index 12fa9bfb7..f1bbc8b1c 100644 --- a/docs/content/linkbox.md +++ b/docs/content/linkbox.md @@ -138,3 +138,12 @@ Properties: Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8), as they can't be used in JSON strings. + +Linkbox converts file extensions to lower case on upload, so a file +uploaded as `file.TXT` is stored as `file.txt`. + +Linkbox renames an uploaded file to `name(1)` if its name is the start +of the name of a file already in the same directory, for example when +uploading `apple` to a directory containing `applebanana`. rclone then +can't find the file it uploaded and the upload fails with `object not +found`. diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml index e5fb8d677..2dfded38a 100644 --- a/fstest/test_all/config.yaml +++ b/fstest/test_all/config.yaml @@ -598,6 +598,8 @@ backends: - TestFixCase - TestListDirSorted # Can't upload files starting with . - FIXME fix with encoding - TestListDirSortedFn # Can't upload files starting with . - FIXME fix with encoding + - TestTransform/suffix # Linkbox lower cases file extensions + - TestTransform/truncate # Linkbox renames a file whose name prefixes another to name(1) - TestSyncOverlapWithFilter # Can't upload files starting with . - FIXME fix with encoding ignoretests: - cmd/bisync