Unable to list Dropbox folder with period(.) in it

What is the problem you are having with rclone?

My Dropbox folder structure is like this: Main/Sub1/Sub.2/Sub3/Sub4/Sub5/files.file

For some reason if I go deeper than Sub.2 folder it will throw out an error: directory not found. More commands example below

I have an identical folder structure in Google Drive and I have no issue with it. Only have issue with Dropbox

What is your rclone version (output from rclone version)

rclone v1.57.0

  • os/version: Microsoft Windows Server 2016 Standard 1607 (64 bit)
  • os/kernel: 10.0.14393.1884 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Dropbox for Business

The command you were trying to run (eg rclone copy /tmp remote:tmp)

cmd 1#: rclone copy -Pv gdrive:Main/Sub dropbox:Main/Sub
cmd 2#: rclone copy -Pv gdrive:Main/Sub/Sub.2/Sub3/Sub4/Sub5 dropbox:Main/Sub/Sub.2/Sub3/Sub4/Sub5
cmd 3#: rclone lsd dropbox:Main/Sub
cmd 4#: rclone lsd dropbox:Main/Sub/Sub.2
cmd 5#: rclone lsd dropbox:Main/Sub -R

The rclone config contents with secrets removed.

--------------------
[dropbox]
type = dropbox
shared_folders = true
token = Some_Token
client_id = Some_ID
client_secret = Some_secret
--------------------

A log from the command with the -vv flag

cmd 1# output:
2021-11-24 10:49:54 INFO  : Sub.2/Sub3/Sub4/Sub5/file1.file: Copied (new)
2021-11-24 10:49:54 INFO  : Sub.2/Sub3/Sub4/Sub5/file2.file: Copied (new)
2021-11-24 10:49:54 INFO  : Sub.2/Sub3/Sub4/Sub5/file3.file: Copied (new)
[Omitted the rest, basically copy is successful]
cmd 2# output:
2021/11/24 11:40:38 Failed to create file system for "dropbox:Main/Sub/Sub.2/Sub3/Sub4/Sub5": directory not found
cmd 3# output:
-1 2021-11-24 11:43:50        -1 Sub.2
cmd 4# output:
2021/11/24 11:45:04 Failed to create file system for "dropbox:Main/Sub/Sub.2": directory not found
cmd 5# output:
-1 2021-11-24 11:46:00        -1 Sub.2
          -1 2021-11-24 11:46:00        -1 Sub.2/Sub3
          -1 2021-11-24 11:46:00        -1 Sub.2/Sub3/Sub4
          -1 2021-11-24 11:46:00        -1 Sub.2/Sub3/Sub4_1
          -1 2021-11-24 11:46:01        -1 Sub.2/Sub3/Sub4_1/Sub5
          -1 2021-11-24 11:46:01        -1 Sub.2/Sub3/Sub4_1/Sub5_1
          -1 2021-11-24 11:46:01        -1 Sub.2/Sub3/Sub4_1/Sub5_2
[Omitted the rest, list is too long]

Are you sure you don't have something else in there?

I can't recreate that.

felix@gemini:~$ rclone mkdir DB:Main/Sub
felix@gemini:~$ rclone mkdir DB:Main/Sub/Sub.2
felix@gemini:~$ rclone lsd DB:Main/Sub
          -1 2021-11-24 00:03:51        -1 Sub.2
felix@gemini:~$ rclone lsd DB:Main/Sub/Sub.2

and

felix@gemini:~$ rclone copy /etc/hosts DB:Main/Sub/Sub.2
felix@gemini:~$ rclone ls DB:Main/Sub/Sub.2
      159 hosts
felix@gemini:~$ rclone ls DB:Main/Sub/
      159 Sub.2/hosts

Hmm it has an underscore but the main folder also has underscore too. The exact result:

c:\rclone-v1.57.0>rclone lsd dropbox:HB3_Backup/IJMPSVR
          -1 2021-11-24 13:49:06        -1 IJMPSVR_Backup.qdff

c:\rclone-v1.57.0>rclone lsd dropbox:HB3_Backup/IJMPSVR/IJMPSVR_Backup.qdff
2021/11/24 13:49:17 Failed to create file system for "dropbox:HB3_Backup/IJMPSVR/IJMPSVR_Backup.qdff": directory not found

c:\rclone-v1.57.0>rclone lsd dropbox:HB3_Backup/IJMPSVR -R
          -1 2021-11-24 13:56:58        -1 IJMPSVR_Backup.qdff
          -1 2021-11-24 13:56:58        -1 IJMPSVR_Backup.qdff/dedup
          -1 2021-11-24 13:56:59        -1 IJMPSVR_Backup.qdff/dedup/hashdb
          -1 2021-11-24 13:56:59        -1 IJMPSVR_Backup.qdff/dedup/vault
          -1 2021-11-24 13:56:59        -1 IJMPSVR_Backup.qdff/dedup/vault/0000000_0000000000000
          -1 2021-11-24 13:56:59        -1 IJMPSVR_Backup.qdff/dedup/vault/0000000_0000000000001

Folder as shown in Dropbox web:
Imgur

So I try around with some more folders, apparently I can open another folder with period sign, but not if it is .qdff

is there anything special to with that extension?

c:\rclone-v1.57.0>rclone lsd dropbox:SynBackup/IJMPLANT03_Share.hbk
          -1 2021-11-24 14:55:22        -1 Config
          -1 2021-11-24 14:55:22        -1 Control
          -1 2021-11-24 14:55:22        -1 Guard
          -1 2021-11-24 14:55:22        -1 Pool
          -1 2021-11-24 14:55:22        -1 Versionlog

c:\rclone-v1.57.0>rclone lsd dropbox:HB3_Backup/ActiveBackup
          -1 2021-11-24 14:56:08        -1 ActiveBackup.qdff

c:\rclone-v1.57.0>rclone lsd dropbox:HB3_Backup/ActiveBackup/ActiveBackup.qdff
2021/11/24 14:56:17 Failed to create file system for "dropbox:HB3_Backup/ActiveBackup/ActiveBackup.qdff": directory not found

I can do that with no issues either:

felix@gemini:~$ rclone mkdir DB:HB3_Backup
felix@gemini:~$ rclone mkdir DB:HB3_Backup/IJMPSVR
felix@gemini:~$ rclone mkdir DB:HB3_Backup/IJMPSVR/IJMPSVR_Backup.qdff
felix@gemini:~$ rclone copy /etc/hosts DB:HB3_Backup/IJMPSVR/IJMPSVR_Backup.qdff
rclone ls felix@gemini:~$ rclone ls DB:HB3_Backup
      159 IJMPSVR/IJMPSVR_Backup.qdff/hosts
felix@gemini:~$ rclone ls DB:HB3_Backup/IJMPSVR/IJMPSVR_Backup.qdff
      159 hosts
felix@gemini:~$

You are using a shared folder?

--dropbox-shared-files
Instructs rclone to work on individual shared files.

In this mode rclone's features are extremely limited - only list (ls, lsl, etc.) operations and read operations (e.g. downloading) are supported in this mode. All other operations will be disabled.

Config: shared_files
Env Var: RCLONE_DROPBOX_SHARED_FILES
Type: bool
Default: false

I'm not so I want to validate before I test with that setup.

Yes it is indeed a shared folder, and I have shared_folders set to true in the advanced config, but shared_files is false:

Option shared_files.
Instructs rclone to work on individual shared files.
In this mode rclone's features are extremely limited - only list (ls, lsl, etc.)
operations and read operations (e.g. downloading) are supported in this mode.
All other operations will be disabled.
Enter a boolean value (true or false). Press Enter for the default ("false").
shared_files>
Option shared_folders.
Instructs rclone to work on shared folders.

When this flag is used with no path only the List operation is supported and
all available shared folders will be listed. If you specify a path the first part
will be interpreted as the name of shared folder. Rclone will then try to mount this
shared to the root namespace. On success shared folder rclone proceeds normally.
The shared folder is now pretty much a normal folder and all normal operations
are supported.
Note that we don't unmount the shared folder afterwards so the
--dropbox-shared-folders can be omitted after the first use of a particular
shared folder.
Enter a boolean value (true or false). Press Enter for the default ("true").
shared_folders>

From my observation it seems that I cannot do any operation any deeper than sub-folder (e.g.: dropbox:Main/Sub is fine but dropbox:Main/Sub/Sub2 is not)

c:\rclone-v1.57.0>rclone lsd dropbox:SynBackup/IJMPLANT03_Share.hbk
          -1 2021-11-24 20:28:55        -1 Config
          -1 2021-11-24 20:28:55        -1 Control
          -1 2021-11-24 20:28:55        -1 Guard
          -1 2021-11-24 20:28:55        -1 Pool
          -1 2021-11-24 20:28:55        -1 Versionlog

c:\rclone-v1.57.0>rclone lsd dropbox:SynBackup/IJMPLANT03_Share.hbk/Config
2021/11/24 20:29:10 Failed to create file system for "dropbox:SynBackup/IJMPLANT03_Share.hbk/Config": directory not found

I'll see if I can get some time as I haven't tested shared folders yet so my test cases were not identical to yours. I used just a regular folder with no issues.