HttpMonitor

User Manual

V3.0

June 2007

Copyright, Creare Inc.

Introduction

HttpMonitor is an application which copies files from any URL to any WebDAV server. It monitors the remote site for changes, and updates the destination whenever a change occurs.

Usage

HttpMonitor may be started from the command line using the following syntax:

java -jar HttpMonitor.jar config-file

It can also be started from the WebTurbine interface.

Configuration File

The configuration file is an XML file which specifies where the source files are located, and where to place them. As an example:

<monitor destURLPath="http://whf/RBNB/Video/" minimumInterval="250"
		deltaFraction="0.5"
		mkcolQuery="?archive=25000&amp;cache=100" debug="true">
	<resource>
		<url>http://wrbv1.creare.com/cgi-bin/camera.jpg</url>
		<destFile>farmhouse.jpg</destFile>
	</resource>
</monitor>
	

The configuration file has the following elements:

If neither destPrefix is set globally, nor destFile used on a particular resource, the resource will be copied using its source filename.