WebDAV Profiles Configuration
The WebDAV Profiles configuration file allows you to configure profiles with the information required to connect to a WebDAV server. To modify the WebDAV Profiles configuration, click on from the bottom of the Sidebar, then click on Configuration and select WebDAV Profiles from the dropdown list.
Sample
Here’s a sample WebDAV Profiles Configuration file (click on the triangle on the left to expand/collapse):
Sample WebDAV profiles configuration
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
4 ~
5 ~ This program is free software: you can redistribute it and/or modify
6 ~ it under the terms of the GNU General Public License version 3 as published by
7 ~ the Free Software Foundation.
8 ~
9 ~ This program is distributed in the hope that it will be useful,
10 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ~ GNU General Public License for more details.
13 ~
14 ~ You should have received a copy of the GNU General Public License
15 ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
16 -->
17
18<!--
19 WebDAV profiles configuration file. This files configures 0 or more
20 profiles with the information required to connect to a WebDAV server.
21
22 For every profile you need to specify:
23 <profile>
24 <id/>
25 <baseUrl/>
26 <deliveryBaseUrl/> (deprecated)
27 <username/>
28 <password/>
29 <preemptiveAuth/>
30 </profile>
31
32 id: a unique id for this profile, this will be referenced in the
33 control defined in the content type
34 baseUrl: Full URL of the WebDAV server
35 deliveryBaseUrl: Full URL of the delivery server to override for files, deprecated and will be ignored
36 username: WebDAV account username
37 password: WebDAV account password
38 preemptiveAuth: Indicates if the client should use preemptiveAuth, defaults to false
39-->
40<webdav>
41 <webdav>
42 <profile>
43 <id>webdav-default</id>
44 <baseUrl>...</baseUrl>
45 <username>...</username>
46 <password>...</password>
47 <preemptiveAuth>...</preemptiveAuth>
48 </profile>
49 </webdav>
50</webdav>
Note
Preemptive authentication may be needed if network timeouts are happening during uploads. To enable preemptive authentication, simply set the option
preemptiveAuth
totrue
in the configuration file.