From 227b91d38289c80f4f0080783f106d844598831a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 30 Dec 2021 14:11:01 +0100 Subject: [PATCH] Add hint to access WebDAV without enabling outgoing federated shares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- user_manual/files/access_webdav.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/user_manual/files/access_webdav.rst b/user_manual/files/access_webdav.rst index 05ac72c76..69834f7b4 100644 --- a/user_manual/files/access_webdav.rst +++ b/user_manual/files/access_webdav.rst @@ -354,7 +354,8 @@ as password. .. note:: **Settings** → **Administration** → **Sharing** → **Allow users on this server to send shares to other servers**. This option also allows WebDAV access - to public shares needs to be enabled in order to make this feature work. + to public shares needs to be enabled in order to make this feature work, + except if cURL is being used (see below). Known problems -------------- @@ -455,6 +456,11 @@ Accessing files using cURL Since WebDAV is an extension of HTTP cURL can be used to script file operations. +.. note:: **Settings** → **Administration** → **Sharing** → **Allow users on this + server to send shares to other servers**. If this option is disabled the + option ``--header "X-Requested-With: XMLHttpRequest"`` needs to be passed to + cURL. + To create a folder with the current date as name: .. code-block:: bash