In troubleshooting the problem I determined the sync will run correctly by omitting the directory from the remote. e.g. rclone sync --fast-list ToolDrive: "k:\Tool Drive" -P
I suspect there may be something injecting smartquotes but have not been able to prove it conclusively. I've tried copy/pasting the command from notepad to ensure plaintext, and even typing directly into the command line.
What is your rclone version (output from rclone version)
User #1:
rclone v1.51.0
os/arch: windows/amd64
go version: go1.13.7
User #2:
rclone v1.52.2
os/arch: windows/amd64
go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64bit
Which cloud storage system are you using? (eg Google Drive)
FTP
The command you were trying to run (eg rclone copy /tmp remote:tmp)
2020/07/13 17:45:40 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "sync" "--fast-list" "ToolDrive: Tool Drive" "D:\ToolDrive" "-P" "-vv" "--retries" "1"]
2020/07/13 17:45:40 DEBUG : Using config file from "C:\Users\Administrator\.config\rclone\rclone.conf"
2020/07/13 17:45:40 DEBUG : ftp://tooldriveproject.net:21/ Tool Drive: Connecting to FTP server
2020/07/13 17:45:41 DEBUG : fs cache: renaming cache item "D:\ToolDrive" to be canonical "//?/D:/ToolDrive"
2020-07-13 17:45:41 ERROR : : error reading source directory: directory not found
2020-07-13 17:45:41 DEBUG : Local file system at //?/D:/ToolDrive: Waiting for checks to finish
2020-07-13 17:45:41 DEBUG : Local file system at //?/D:/ToolDrive: Waiting for transfers to finish
2020-07-13 17:45:41 ERROR : Local file system at //?/D:/ToolDrive: not deleting files as there were IO errors
2020-07-13 17:45:41 ERROR : Local file system at //?/D:/ToolDrive: not deleting directories as there were IO errors
2020-07-13 17:45:41 INFO : There was nothing to transfer
2020-07-13 17:45:41 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/07/13 17:45:41 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/07/13 17:45:41 DEBUG : 2 go routines active
2020/07/13 17:45:41 Failed to sync: directory not found
2020/07/14 11:04:12 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "sync" "--fast-list" "ToolDrive:Tool Drive" "H:\TOOL\Tool Drive" "-P" "-vv" "--retries" "1"]
2020/07/14 11:04:12 DEBUG : Using config file from "C:\Users\jlegn\.config\rclone\rclone.conf"
2020/07/14 11:04:12 DEBUG : ftp://tooldriveproject.net:21/Tool Drive: Connecting to FTP server
2020-07-14 11:04:17 ERROR : : error reading source directory: directory not found
2020-07-14 11:04:17 INFO : Local file system at //?/H:/TOOL/Tool Drive: Waiting for checks to finish
2020-07-14 11:04:17 INFO : Local file system at //?/H:/TOOL/Tool Drive: Waiting for transfers to finish
2020-07-14 11:04:17 ERROR : Local file system at //?/H:/TOOL/Tool Drive: not deleting files as there were IO errors
2020-07-14 11:04:17 ERROR : Local file system at //?/H:/TOOL/Tool Drive: not deleting directories as there were IO errors
2020-07-14 11:04:17 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/07/14 11:04:17 Failed to sync: directory not found
at least removing the space, now rclone has the correct remote path
before: ftp://tooldriveproject.net:21/
after: ftp://tooldriveproject.net:21/Tool Drive
as far as i know this is not documented anywhere
there is a difference between "ToolDrive:Tool Drive"
and "ToolDrive:/Tool Drive"
Without the / it is relative to the users home directory
2020/07/14 07:32:49 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "sync" "--fast-list" "ToolDrive:/Tool Drive" "D:\ToolDrive" "-P" "-vv" "--retries" "1"]
2020/07/14 07:32:49 DEBUG : Using config file from "C:\Users\Administrator\.config\rclone\rclone.conf"
2020/07/14 07:32:49 DEBUG : ftp://tooldriveproject.net:21/Tool Drive: Connecting to FTP server
2020/07/14 07:32:49 DEBUG : fs cache: renaming cache item "D:\ToolDrive" to be canonical "//?/D:/ToolDrive"
2020-07-14 07:32:50 ERROR : : error reading source directory: directory not found
2020-07-14 07:32:50 DEBUG : Local file system at //?/D:/ToolDrive: Waiting for checks to finish
2020-07-14 07:32:50 DEBUG : Local file system at //?/D:/ToolDrive: Waiting for transfers to finish
2020-07-14 07:32:50 ERROR : Local file system at //?/D:/ToolDrive: not deleting files as there were IO errors
2020-07-14 07:32:50 ERROR : Local file system at //?/D:/ToolDrive: not deleting directories as there were IO errors
2020-07-14 07:32:50 INFO : There was nothing to transfer
2020-07-14 07:32:50 ERROR : Attempt 1/1 failed with 1 errors and: directory not found
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/07/14 07:32:50 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/07/14 07:32:50 DEBUG : 2 go routines active
2020/07/14 07:32:50 Failed to sync: directory not found
What is the correct command to sync from the source "ToolDrive:Tool Drive" to the destination D:\ToolDrive and not receive the local file system errors?
Perhaps I'm not understanding the actual problem. It was suggested to add / to the destination as without it, the directory is relative to the user's home directory. I had the user try that, but it did not fix the problem. So then what is the actual problem?
the problem is with the source, not dest
as in the title of your post
"Error reading source directory: directory not found"
and the error in the log
"error reading source directory: directory not found"
in this case, the source is ftp so this is applicable
Paths are specified as remote:path . If the path does not begin with a / it is relative to the home directory of the user. An empty path remote: refers to the user's home directory.
the dest D:\ToolDrive looks fine
you can test this rclone ls D:\ToolDrive
Local paths are specified as normal filesystem paths, eg /path/to/wherever`