The WebDAV-Sync tool is a free and open source command-line tool and an Ant task. WebDAV-Sync has three parameters: a URL which refers to a WebDAV collection, a local directory and the synchronization direction.
WebDAV-Sync keeps the URL in sync with the directory depending on the direction, which can be down, up or bi-directional.
The down direction is useful for cases where a lot of random file access will follow. A typical example is the compilation of program sources, but it applies as well to docment processing tasks. The up direction is rather for updating offline work on the server. With the bi-directional mode both sides are mirrors of each other.
It takes only a few seconds to check if a local directory of around a thousand files is in sync with the WebDAV collection. This is important to reduce the overhead in build scripts when only a few files or directories have changed.
NOTE: WebDAV-Sync is licensed and distributed under the terms of the Public Domain license.
· Java 1.4 or later
What's New in This Release: [ read full changelog ]
· Try DELETE when PUT responds with a 405 (Method not allowed). (feature request 7)
· Add -no-recursion option, which prohibits recursion into subfolders even if the server supports it. (feature request 8)
· Add recursive and no-recursion options to the configuration file.
· Add no-recursion options to the Ant-task.