What is the problem you are having with rclone?
When using rclone on a webdav remote it can navigate the remote and even write folders but gives an auth error whenever it tries to write a file.
Run the command 'rclone version' and share the full output of the command.
C:\WINDOWS\system32>rclone version
rclone v1.63.0
- os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
- os/kernel: 10.0.19045.2965 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Webdav
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone --config=C:\rclone_test\rclone.conf copy C:\rclone_test\test.gif "aiwebdav:\Shared\Resource\02 Images\AI\rhino_plugin" -vv
Here's an example of using lsd and it can obviously auth and look inside the remote.
rclone --config=C:\rclone_test\rclone.conf lsd "aiwebdav:\Shared\Resource\02 Images\AI\rhino_plugin" -vv
The rclone config contents with secrets removed.
[aiwebdav]
type = webdav
url = *redacted*
vendor = other
user = *redacted*
pass = *redacted*
A log from the command with the -vv
flag
This is the copy log
2023/07/07 17:20:30 DEBUG : rclone: Version "v1.63.0" starting with parameters ["rclone" "--config=C:\\rclone_test\\rclone.conf" "copy" "C:\\rclone_test\\test.gif" "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin" "-vv"]
2023/07/07 17:20:30 DEBUG : Creating backend with remote "C:\\rclone_test\\test.gif"
2023/07/07 17:20:30 DEBUG : Using config file from "C:\\rclone_test\\rclone.conf"
2023/07/07 17:20:30 DEBUG : fs cache: adding new entry for parent of "C:\\rclone_test\\test.gif", "//?/C:/rclone_test"
2023/07/07 17:20:30 DEBUG : Creating backend with remote "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin"
2023/07/07 17:20:30 DEBUG : found headers:
2023/07/07 17:20:30 DEBUG : fs cache: renaming cache item "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin" to be canonical "aiwebdav:Shared/Resource/02 Images/AI/rhino_plugin"
2023/07/07 17:20:30 DEBUG : test.gif: Need to transfer - File not found at Destination
2023/07/07 17:20:30 DEBUG : test.gif: Update will use the normal upload strategy (no chunks)
2023/07/07 17:20:31 ERROR : test.gif: Failed to copy: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:31 ERROR : Attempt 1/3 failed with 1 errors and: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:31 DEBUG : test.gif: Need to transfer - File not found at Destination
2023/07/07 17:20:31 DEBUG : test.gif: Update will use the normal upload strategy (no chunks)
2023/07/07 17:20:32 ERROR : test.gif: Failed to copy: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:32 ERROR : Attempt 2/3 failed with 1 errors and: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:32 DEBUG : test.gif: Need to transfer - File not found at Destination
2023/07/07 17:20:33 DEBUG : test.gif: Update will use the normal upload strategy (no chunks)
2023/07/07 17:20:34 ERROR : test.gif: Failed to copy: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:34 ERROR : Attempt 3/3 failed with 1 errors and: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
2023/07/07 17:20:34 INFO :
Transferred: 889.450 KiB / 889.450 KiB, 100%, 296.472 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 4.0s
2023/07/07 17:20:34 DEBUG : 5 go routines active
2023/07/07 17:20:34 Failed to copy: {
"type": "Status Report",
"message": "Invalid credentials",
"description": "The request has not been applied because it lacks valid authentication credentials for the target resource."
}: 401
this is the lsd log
2023/07/07 17:21:07 DEBUG : rclone: Version "v1.63.0" starting with parameters ["rclone" "--config=C:\\rclone_test\\rclone.conf" "lsd" "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin" "-vv"]
2023/07/07 17:21:07 DEBUG : Creating backend with remote "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin"
2023/07/07 17:21:07 DEBUG : Using config file from "C:\\rclone_test\\rclone.conf"
2023/07/07 17:21:07 DEBUG : found headers:
2023/07/07 17:21:07 DEBUG : fs cache: renaming cache item "aiwebdav:\\Shared\\Resource\\02 Images\\AI\\rhino_plugin" to be canonical "aiwebdav:Shared/Resource/02 Images/AI/rhino_plugin"
-1 2023-07-03 16:46:36 -1 2023-07-03
-1 2023-07-06 18:18:30 -1 2023-07-06
-1 2023-07-07 16:40:33 -1 2023-07-07
-1 2023-07-07 15:33:20 -1 Originals
2023/07/07 17:21:07 DEBUG : 4 go routines active