From 415f4b2b93cd39799818cc87349510d8f4f32fa1 Mon Sep 17 00:00:00 2001 From: darix Date: Mon, 10 Jul 2023 15:37:09 +0200 Subject: [PATCH] webdav: nextcloud chunking: add more guidance for the user to check the config --- backend/webdav/chunking.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/webdav/chunking.go b/backend/webdav/chunking.go index 4660e9493..471678acc 100644 --- a/backend/webdav/chunking.go +++ b/backend/webdav/chunking.go @@ -53,7 +53,7 @@ func (o *Object) getChunksUploadDir() (string, error) { func (f *Fs) getChunksUploadURL() (string, error) { submatch := nextCloudURLRegex.FindStringSubmatch(f.endpointURL) if submatch == nil { - return "", errors.New("the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav") + return "", errors.New("the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME") } baseURL, user := submatch[1], submatch[2]