I read the document you added- do I need to preper a file in the drive for this to work?
In all the posts I copy the exact commands and output and I tested of a real file. Because it didn't work, I changed the file name to English (from "ניסיון2" to "tryy") to make it easier for you and the system, and when it didn't work, I put the file in an English folder, thinking that maybe it would help. I currently have a folder called "try" with a file in it called "tryy".
In general, my hope is to be able to upload and sync folder and files even if they are not in a folder.
- The commend of
rclone copyto "c:/try" gms740:try
A. For the file itself (I draged it out from the folder for this command):
PS C:\Users\USER\Desktop> rclone copyto "c:/tryy" gms740:tryy -vv --retries=1```
the output
2025/08/10 13:04:23 DEBUG : rclone: Version "v1.70.3" starting with parameters ["C:\\rclone\\rclone.exe" "copyto" "c:/tryy" "gms740:tryy" "-vv" "--retries=1"]
2025/08/10 13:04:23 DEBUG : Creating backend with remote "c:/tryy"
2025/08/10 13:04:23 DEBUG : Using config file from "C:\\Users\\USER\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/10 13:04:23 DEBUG : fs cache: renaming cache item "c:/tryy" to be canonical "//?/c:/tryy"
2025/08/10 13:04:23 DEBUG : Creating backend with remote "gms740:tryy"
2025/08/10 13:04:23 DEBUG : Google drive root 'tryy': 'root_folder_id = 0AK7mWSAP-8MeUk9PVA' - save this in the config to speed up startup
2025/08/10 13:04:25 ERROR : Local file system at //?/c:/tryy: error reading source root directory: directory not found
2025/08/10 13:04:25 DEBUG : Google drive root 'tryy': Waiting for checks to finish
2025/08/10 13:04:25 DEBUG : Google drive root 'tryy': Waiting for transfers to finish
2025/08/10 13:04:25 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
2025/08/10 13:04:25 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.5s
2025/08/10 13:04:25 DEBUG : 4 go routines active
2025/08/10 13:04:25 NOTICE: Failed to copyto: directory not found
B. I tried to uploud the file alone when it is in the folder:
PS C:\Users\USER\Desktop> rclone copyto "c:/tryy" gms740:tryy -vv --retries=1
the output:
2025/08/10 13:07:50 DEBUG : rclone: Version "v1.70.3" starting with parameters ["C:\\rclone\\rclone.exe" "copyto" "c:/tryy" "gms740:tryy" "-vv" "--retries=1"]
2025/08/10 13:07:50 DEBUG : Creating backend with remote "c:/tryy"
2025/08/10 13:07:50 DEBUG : Using config file from "C:\\Users\\USER\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/10 13:07:50 DEBUG : fs cache: renaming cache item "c:/tryy" to be canonical "//?/c:/tryy"
2025/08/10 13:07:50 DEBUG : Creating backend with remote "gms740:tryy"
2025/08/10 13:07:50 DEBUG : Google drive root 'tryy': 'root_folder_id = 0AK7mWSAP-8MeUk9PVA' - save this in the config to speed up startup
2025/08/10 13:07:51 ERROR : Local file system at //?/c:/tryy: error reading source root directory: directory not found
2025/08/10 13:07:51 DEBUG : Google drive root 'tryy': Waiting for checks to finish
2025/08/10 13:07:51 DEBUG : Google drive root 'tryy': Waiting for transfers to finish
2025/08/10 13:07:51 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
2025/08/10 13:07:51 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.3s
2025/08/10 13:07:51 DEBUG : 4 go routines active
2025/08/10 13:07:51 NOTICE: Failed to copyto: directory not found
C. I tried it for the folder:
PS C:\Users\USER\Desktop> rclone copyto "c:/try" gms740:try -vv --retries=1
the output:
2025/08/10 13:17:50 DEBUG : rclone: Version "v1.70.3" starting with parameters ["C:\\rclone\\rclone.exe" "copyto" "c:/try" "gms740:try" "-vv" "--retries=1"]
2025/08/10 13:17:50 DEBUG : Creating backend with remote "c:/try"
2025/08/10 13:17:50 DEBUG : Using config file from "C:\\Users\\USER\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/10 13:17:50 DEBUG : fs cache: renaming cache item "c:/try" to be canonical "//?/c:/try"
2025/08/10 13:17:50 DEBUG : Creating backend with remote "gms740:try"
2025/08/10 13:17:50 DEBUG : Google drive root 'try': 'root_folder_id = 0AK7mWSAP-8MeUk9PVA' - save this in the config to speed up startup
2025/08/10 13:17:51 ERROR : Local file system at //?/c:/try: error reading source root directory: directory not found
2025/08/10 13:17:51 DEBUG : Google drive root 'try': Waiting for checks to finish
2025/08/10 13:17:51 DEBUG : Google drive root 'try': Waiting for transfers to finish
2025/08/10 13:17:51 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
2025/08/10 13:17:51 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.3s
2025/08/10 13:17:51 DEBUG : 4 go routines active
2025/08/10 13:17:51 NOTICE: Failed to copyto: directory not found
D. For the folder I put again
PS C:\Users\USER\Desktop> rclone copy "c:/try" gms740:try -vv --retries=1
The output:
2025/08/10 12:55:01 DEBUG : rclone: Version "v1.70.3" starting with parameters ["C:\\rclone\\rclone.exe" "copy" "c:/try" "gms740:try" "-vv" "--retries=1"]
2025/08/10 12:55:01 DEBUG : Creating backend with remote "c:/try"
2025/08/10 12:55:01 DEBUG : Using config file from "C:\\Users\\USER\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/10 12:55:01 DEBUG : fs cache: renaming cache item "c:/try" to be canonical "//?/c:/try"
2025/08/10 12:55:01 DEBUG : Creating backend with remote "gms740:try"
2025/08/10 12:55:01 DEBUG : gms740: Loaded invalid token from config file - ignoring
2025/08/10 12:55:01 DEBUG : Saving config "token" in section "gms740" of the config file
2025/08/10 12:55:02 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2025/08/10 12:55:02 DEBUG : gms740: Saved new token in config file
2025/08/10 12:55:02 DEBUG : Google drive root 'try': 'root_folder_id = 0AK7mWSAP-8MeUk9PVA' - save this in the config to speed up startup
2025/08/10 12:55:03 ERROR : Local file system at //?/c:/try: error reading source root directory: directory not found
2025/08/10 12:55:03 DEBUG : Google drive root 'try': Waiting for checks to finish
2025/08/10 12:55:03 DEBUG : Google drive root 'try': Waiting for transfers to finish
2025/08/10 12:55:03 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
2025/08/10 12:55:03 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.5s
2025/08/10 12:55:03 DEBUG : 6 go routines active
2025/08/10 12:55:03 NOTICE: Failed to copy: directory not found
I also tried to add the file typ PS C:\Users\USER\Desktop> rclone copyto "c:/tryy.xlsx" gms740:tryy.xlsx -vv --retries=1:
2025/08/10 13:49:59 DEBUG : rclone: Version "v1.70.3" starting with parameters ["C:\\rclone\\rclone.exe" "copyto" "c:/tryy.xlsx" "gms740:tryy.xlsx" "-vv" "--retries=1"]
2025/08/10 13:49:59 DEBUG : Creating backend with remote "c:/tryy.xlsx"
2025/08/10 13:49:59 DEBUG : Using config file from "C:\\Users\\USER\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/10 13:49:59 DEBUG : fs cache: renaming cache item "c:/tryy.xlsx" to be canonical "//?/c:/tryy.xlsx"
2025/08/10 13:49:59 DEBUG : Creating backend with remote "gms740:tryy.xlsx"
2025/08/10 13:49:59 DEBUG : Google drive root 'tryy.xlsx': 'root_folder_id = 0AK7mWSAP-8MeUk9PVA' - save this in the config to speed up startup
2025/08/10 13:50:00 ERROR : Local file system at //?/c:/tryy.xlsx: error reading source root directory: directory not found
2025/08/10 13:50:00 DEBUG : Google drive root 'tryy.xlsx': Waiting for checks to finish
2025/08/10 13:50:00 DEBUG : Google drive root 'tryy.xlsx': Waiting for transfers to finish
2025/08/10 13:50:00 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
2025/08/10 13:50:00 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.4s
2025/08/10 13:50:00 DEBUG : 4 go routines active
2025/08/10 13:50:00 NOTICE: Failed to copyto: directory not found