What is the problem you are having with rclone?
2019/10/11 09:16:33 DEBUG : : Dir.ReadDirAll error: couldn't list files: Propfind /: unsupported protocol scheme ""
2019/10/11 09:16:33 http: superfluous response.WriteHeader call from github.com/rclone/rclone/vendor/golang.org/x/net/webdav.(*Handler).ServeHTTP (webdav.go:74)
What is your rclone version (output from rclone version
)
rclone v1.49.5
- os/arch: windows/amd64
- go version: go1.12.10
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows Server 2012 R2 (Build 9600)
Which cloud storage system are you using? (eg Google Drive)
using rclone serve webdav as a server
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
On the server:
rclone serve webdav --addr :8081 -vv --dir-cache-time 5s --auth-proxy E:\ProgramData\rclone\auth-proxy\auth-proxy.exe
On the client:
rclone tree WebDAV: -vv --dump bodies
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
On the server:
2019/10/11 09:16:24 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rclone" "serve" "webdav" "--addr" ":8081" "-vv" "--dir-cache-time" "5s" "--auth-proxy" "E:\ProgramData\rclone\auth-proxy\auth-proxy.exe"]
2019/10/11 09:16:24 NOTICE: WebDav Server started on http://[::]:8081/
2019/10/11 09:16:33 DEBUG : Calling proxy [E:\ProgramData\rclone\auth-proxy\auth-proxy.exe]
2019/10/11 09:16:33 DEBUG : Proxy returned in 326.5985ms
2019/10/11 09:16:33 INFO : webdav root '': poll-interval is not supported by this remote
2019/10/11 09:16:33 DEBUG : Adding path "vfs/forget" to remote control registry
2019/10/11 09:16:33 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/10/11 09:16:33 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/10/11 09:16:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=----------
2019/10/11 09:16:33 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/11 09:16:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=----------
2019/10/11 09:16:33 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/11 09:16:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=----------
2019/10/11 09:16:33 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/11 09:16:33 DEBUG : : Dir.ReadDirAll error: couldn't list files: Propfind /: unsupported protocol scheme ""
2019/10/11 09:16:33 http: superfluous response.WriteHeader call from github.com/rclone/rclone/vendor/golang.org/x/net/webdav.(*Handler).ServeHTTP (webdav.go:74)
2019/10/11 09:16:33 INFO : /: PROPFIND from 10.10.40.112:50968
On the client:
2019/10/11 09:27:38 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rclone" "tree" "WebDAV:" "-vv" "--dump" "bodies"]
2019/10/11 09:27:38 DEBUG : Using config file from "E:\ProgramData\rclone\rclone.config"
2019/10/11 09:27:38 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2019/10/11 09:27:38 DEBUG : HTTP REQUEST (req 0xc000108c00)
2019/10/11 09:27:38 DEBUG : PROPFIND / HTTP/1.1
Host: syncserver:8081
User-Agent: rclone/v1.49.5
Authorization: XXXX
Depth: 1
Accept-Encoding: gzip
2019/10/11 09:27:38 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2019/10/11 09:27:39 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2019/10/11 09:27:39 DEBUG : HTTP RESPONSE (req 0xc000108c00)
2019/10/11 09:27:39 DEBUG : HTTP/1.1 207 Multi-Status
Content-Length: 541
Content-Type: text/xml; charset=utf-8
Date: Fri, 11 Oct 2019 16:28:09 GMT
<D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection xmlns:D="DAV
:"/></D:resourcetype><D:displayname></D:displayname><D:getlastmodified>Fri, 11 O
ct 2019 16:28:09 GMT</D:getlastmodified><D:supportedlock><D:lockentry xmlns:D="D
AV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype
</D:lockentry></D:supportedlock></D:prop><D:status>HTTP/1.1 200 OK</D:status></
D:propstat></D:response></D:multistatus>Internal Server Error
2019/10/11 09:27:39 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2019/10/11 09:27:39 DEBUG : Stat: filePath="/"
2019/10/11 09:27:39 DEBUG : >Stat: fi=, err=
2019/10/11 09:27:39 DEBUG : ReadDir: dir=/
2019/10/11 09:27:39 DEBUG : >ReadDir: names=[], err=
/
0 directories, 0 files
2019/10/11 09:27:39 DEBUG : 5 go routines active
2019/10/11 09:27:39 DEBUG : rclone: Version "v1.49.5" finishing with parameters
["rclone" "tree" "WebDAV:" "-vv" "--dump" "bodies"]
Standard in/out of auth-proxy.exe:
Using the --auth-proxy with auth-proxy.exe program
In:
{ "pass": "mypassword", "user": "me"}
Out:
{"type":"webdav","_root":"","_obscure":"pass","user":"me","pass":"K6GysoBe1GDPeyT1mL_AmrBhzizxqVxSOO8\n","host":"localhost"}