Open wivaku opened 3 years ago
Hello, try this:
'webdav' => [
'driver' => 'webdav',
'baseUri' => 'https://nextcloud.com/',
'userName' => 'UserXXX',
'password' => '******',
'pathPrefix' => 'remote.php/dav/files/UserXXX/',
],
And then write
Storage::disk('webdav')->allFiles('/')
I see, so I have to split the path. (in my case I am using shared folder, with token)
works:
'webdav' => [
'driver' => 'webdav',
'baseUri' => 'https://mynextcloud.com/',
'userName' => 'tokenXXX',
'pathPrefix' => 'public.php/webdav/',
],
works for get()
and put()
but not for files()
:
'webdav' => [
'driver' => 'webdav',
'baseUri' => 'https://mynextcloud.com/public.php/webdav/',
'userName' => 'tokenXXX',
],
I have a webdav folder containing:
When listing files in root directory:
When listing specific file or folder I get an empty result:
Correct / expected behavior when listing non-existing file/folder:
Correct / expected behavior when using local filesystem:
(using
WEBDAV_URI
with trailing/
, see #9)Manual
curl
examples works fine:e.g.