Get WebDAV-Sync at Fast, secure and Free Open Source software downloads


Run the binary as follows:

  java -jar webdav_sync.jar [-h] [-r] [-i seconds] \
    (-c config_file | [-e comma_separated_patterns] \
    (-down|-up|-bi) -u URL -d directory)

For Xythos you should add before the -jar.

Writes the command synopsis on the terminal.
Recurs into empty directories. This is only useful if the server doesn't support "infinity" for the WebDAV "depth" property or if you are not in a position to turn it on.
An interval in seconds. When set the tool loops forever and executes the synchronization every interval.
A configuration file with the following form:
    <?xml version="1.0"?>
        <!-- Optional ACL for upload. -->
        <acl xmlns="DAV:">
        <exclude>filename pattern 1</exclude>
        <exclude>filename pattern 2</exclude>

See RFC 3744 for the ACL syntax.

An optional comma-separated list of filename patterns. Files that match a pattern are excluded from the synchronization.
The synchronization direction.
The URL.
The local directory.

Use it as an Ant task through the taskdef element:

    classpath="<directory>/webdav_sync.jar" />

The Ant task has five parameters: directory, url, recur, which is either true or false, excludes, which is a list of filename patterns, and direction, which can be down, up or bi. The parameters recur and excludes are optional.

The URL might require a username and a password. You can specify it in the URL like this: https://username:password@hostname/.... A safer method is to configure it with UIVI. On the Settings tab go to the subtab URL Authentications and append a row with the pop-up menu.