I'm trying to copy data from an internal NAS to a SharePoint repository.
On my server (windows 2012r2) i've installed OneDrive for business with access to Sharepoint.
I've created a encrypted directory in the SharePoint site. In Windows Explorer it shows as:
X:\[username] - Documents\[foldername]
The files from the NAS are copied once every day using the Windows Scheduler and MS Synctoy.
The scheduler executes the following command "C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R
An error occurs while this task is running.
"*** Failed to execute folder pair PenO_Encrypted. Could not locate folder X:\[username] - Documents\[foldername]\".
I've checked and drive X:\ is accessible from the command line.
When running the same folder pair in the Synctoy application no errors occur and the files just are copied.
What is the reason for this error and what is the solution?