Can't check free space Sharepoint + WEBDAV

What is the problem you are having with rclone?

I'm using some onedrive education accounts and use rclone with webdav to connect to them. I can connect and transfer file but I can't use command "rclone about" to check space. Because of that, union always throw notice "Free Space is not supported for upstream NAS1-1, treating as infinite" and don't seem work correctly. How can I solved this problem? Thank you very much

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.1

  • os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
  • os/kernel: 10.0.19043.1706 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.9
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Sharepoint + Webdav, Union

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync "E:\Nas data" NAS1: -vv --checkers=16 --ignore-size --ignore-checksum --update

The rclone config contents with secrets removed.

[NAS1-1]
type = webdav
url = https://xxxx-my.sharepoint.com/personal/xxxx/Documents
vendor = sharepoint
user = nthanxxxx@xxxx
pass = 

[NAS1union]
type = union
upstreams = NAS1-1: NAS1-2: 

[NAS1]
type = chunker
remote = NAS1union:
chunk_size = 1.900Gi

A log from the command with the -vv flag

rclone about NAS1-1: -vv
2022/06/02 14:48:13 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "about" "NAS1-1:" "-vv"]
2022/06/02 14:48:13 DEBUG : Creating backend with remote "NAS1-1:"
2022/06/02 14:48:13 DEBUG : Using config file from "C:\\Users\\BABYDRAGON_NAS\\.config\\rclone\\rclone.conf"
2022/06/02 14:48:13 DEBUG : found headers:
2022/06/02 14:48:15 DEBUG : 7 go routines active

Some webdav servers support free space and some don't. It looks like yours doesn't.

Try

rclone about NAS1-1: -vv --dump bodies

And you'll see what rclone asks and what the response is.

<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:" xmlns:Office="urn:schemas-microsoft-com:office:office" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:Z="urn:schemas-microsoft-com:">
<D:response><D:href>https://xxxx-my.sharepoint.com/personal/nthan_xxx/Documents/
</D:href><D:propstat><D:prop></D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:quota-available-bytes/><D:quota-used-bytes/></D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat></D:response>
</D:multistatus>
2022/06/02 19:28:55 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2022/06/02 19:28:55 DEBUG : 7 go routines active

So it seem sharepoint doesn't free space, right?

It looks like it. Rclone asks but gets nothing useful back.

1 Like