Copy from local root directory not work

I compiled the code, but found that the root directory file (such as C:\XX.txt) cannot be copy, but if the file is not in the root directory(such as C:\XX\XX.txt), it works. Can you help me with this question, thank u!

from local to Yandex disk.

welcome to the forum,

i did not noticed a few differences:

  • on your machine "//?/e:", on my machine it is "//?/e:/"
    e: would be the current working directory, which is , e:\rclone

  • the output of your rclone version, has some differences with the official client.

rclone copy e:\saa22.txt %temp%\test22 -vv
DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "copy" "e:\\saa22.txt" "C:\\Users\\user01\\AppData\\Local\\Temp\\test22" "-vv"]
DEBUG : Creating backend with remote "e:\\saa22.txt"
DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
DEBUG : fs cache: adding new entry for parent of "e:\\saa22.txt", "//?/e:/"
DEBUG : Creating backend with remote "C:\\Users\\user01\\AppData\\Local\\Temp\\test22"
DEBUG : fs cache: renaming cache item "C:\\Users\\user01\\AppData\\Local\\Temp\\test22" to be canonical "//?/C:/Users/user01/AppData/Local/Temp/test22"
DEBUG : saa22.txt: Need to transfer - File not found at Destination
DEBUG : saa22.txt: md5 = ebe596017db2f8c69136e5d6e594d365 OK
DEBUG : saa22.txt.wiyaluv5.partial: renamed to: saa22.txt
INFO  : saa22.txt: Copied (new)

and can you confirm that saa22.txt exists in the root for E:\

yes, i confirmed

can you confirm using rclone

rclone lsl e:\ --include=saa22.txt
       11 2023-11-20 21:12:50.834408000 saa22.txt

and what is the file system for e:, NTFS or what?

yes its NTFS.

i am not sure the exact reason for your issue,

might have something to do with non-english default language for windows os.
maybe rclone needs to be compiled in a different way.

i might try variation

  • rclone ls "e:\\"
  • rclone ls e:\\
  • rclone ls "e:/"
  • rclone ls e:/

thank u! i'll try.

The problem remains unresolved.

its done. I think it may be a problem with the compiler environment, changing the version of Go to 1.19,then it works. thank u.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.