rclone/backend
Henning 1f3778dbfb webdav: sharepoint recursion with different depth - fixes #2426
this change adds the depth parameter to listAll and readMetaDataForPath.
this allows recursive calls of these methods with a different depth
header.

Sharepoint won't list files if the depth header is != 0. If that is the
case, it will just return a error 404 although the file exists.
Since it is not possible to determine if a path should be a file or a
directory, rclone has to make a request with depth = 1 first. On success
we are sure that the path is a directory and the listing will work.
If this request returns error 404, the path either doesn't exist or it
is a file.

To be sure, we can try again with depth set to 0. If it still fails, the
path really doesn't exist, else we found our file.
2018-08-04 11:02:47 +01:00
..
alias Implement new backend config system 2018-07-16 21:20:47 +01:00
all opendrive: fill out the functionality #1026 2018-05-12 10:07:25 +01:00
amazonclouddrive Implement new backend config system 2018-07-16 21:20:47 +01:00
azureblob Implement new backend config system 2018-07-16 21:20:47 +01:00
b2 Implement new backend config system 2018-07-16 21:20:47 +01:00
box box: Fix upload of > 2GB files on 32 bit platforms 2018-07-31 10:33:55 +01:00
cache Implement new backend config system 2018-07-16 21:20:47 +01:00
crypt Implement new backend config system 2018-07-16 21:20:47 +01:00
drive drive: handle gdocs when filtering file names in list 2018-07-30 13:01:16 +01:00
dropbox Implement new backend config system 2018-07-16 21:20:47 +01:00
ftp Implement new backend config system 2018-07-16 21:20:47 +01:00
googlecloudstorage Implement new backend config system 2018-07-16 21:20:47 +01:00
http Implement new backend config system 2018-07-16 21:20:47 +01:00
hubic Implement new backend config system 2018-07-16 21:20:47 +01:00
local local: fix crash when deprecated --local-no-unicode-normalization is supplied 2018-07-16 21:38:34 +01:00
mega mega: add --mega-hard-delete flag - fixes #2409 2018-08-03 15:07:51 +01:00
onedrive Implement new backend config system 2018-07-16 21:20:47 +01:00
opendrive Implement new backend config system 2018-07-16 21:20:47 +01:00
pcloud Implement new backend config system 2018-07-16 21:20:47 +01:00
qingstor Implement new backend config system 2018-07-16 21:20:47 +01:00
s3 s3: Add --s3-force-path-style - fixes #2401 2018-07-20 15:41:40 +01:00
sftp Implement new backend config system 2018-07-16 21:20:47 +01:00
swift Implement new backend config system 2018-07-16 21:20:47 +01:00
webdav webdav: sharepoint recursion with different depth - fixes #2426 2018-08-04 11:02:47 +01:00
yandex Implement new backend config system 2018-07-16 21:20:47 +01:00