OptimiDoc Server Help Center

WebDAV Destination

The WebDAV destination uploads scanned documents to any server that speaks the Web Distributed Authoring and Versioning (WebDAV) protocol -- an HTTP extension supported by Nextcloud, ownCloud, many NAS devices, and other document systems. It is a good fit when no dedicated connector exists for the target system.


How It Works

WebDAV is a delivery-only destination. When a scan template delivers to it, OptimiDoc connects to the WebDAV server over HTTP/HTTPS using the supplied credentials and uploads each output document into the configured Path, relative to the base URL.

Because WebDAV is an open standard, the same destination works against a wide range of back-ends -- self-hosted Nextcloud/ownCloud, Apache mod_dav, Windows IIS WebDAV, and NAS appliances -- as long as they expose a WebDAV endpoint and accept basic authentication over HTTPS.


Configuration Fields

Field

Description

URL

Base URL of the WebDAV server, including the protocol, e.g. https://cloud.example.com/remote.php/dav/.

Path

Folder path on the server, relative to the base URL, e.g. files/user/Scans.

Username

Account user name for the WebDAV server.

Password

Account password for the WebDAV server.


Common WebDAV Endpoints

Service

URL Pattern

Nextcloud / ownCloud

https://cloud.example.com/remote.php/dav/

Apache (mod_dav)

https://server.example.com/webdav/

IIS (Windows)

https://server.example.com/

Synology NAS

https://nas.example.com:5006/

QNAP NAS

https://nas.example.com/share/


Security Considerations

Recommendation

Details

Use HTTPS

Always prefer https:// over http:// so credentials and file data are encrypted in transit.

Dedicated account

Create a dedicated service account for OptimiDoc with write access limited to the target folder.

Certificate validation

Ensure the server's TLS certificate is valid and trusted by the OptimiDoc server; self-signed certificates may require installing the certificate in the server's trusted root store.

Network access

Ensure the OptimiDoc server can reach the WebDAV server on the configured port.


When to Use

Choose WebDAV to deliver to Nextcloud, ownCloud, or a NAS that exposes a WebDAV share, or to any document system that offers WebDAV but has no purpose-built OptimiDoc connector. For SMB/CIFS shares use the Folder destination; for Microsoft 365 use OneDrive or SharePoint Online.


Troubleshooting

Issue

Possible Cause

Resolution

401 Unauthorised

Invalid credentials

Verify the user name and password; test access from a browser or WebDAV client

403 Forbidden

Insufficient permissions

Ensure the account has write access to the target path

405 Method Not Allowed

WebDAV not enabled on the server

Confirm WebDAV is configured and enabled

SSL certificate error

Self-signed or untrusted certificate

Install the certificate in the OptimiDoc server's trusted root store

409 Conflict

Parent folder does not exist

Create the parent folder structure on the server before uploading