From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p0UGGYOa025987 for ; Sun, 30 Jan 2011 17:16:34 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQBAI4dRU3U4xEKkWdsb2JhbACEFZI/jiEVAQEBAQkLCgcRAyGpa483AoEhgzd0BIgAh2Y X-IronPort-AV: E=Sophos;i="4.60,401,1291590000"; d="scan'208";a="98682991" Received: from moutng.kundenserver.de ([212.227.17.10]) by mail1-smtp-roc.national.inria.fr with ESMTP; 30 Jan 2011 17:16:29 +0100 Received: from office1.lan.sumadev.de (dslb-188-097-008-053.pools.arcor-ip.net [188.97.8.53]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MNyAB-1PqSdK034N-007MRW; Sun, 30 Jan 2011 17:16:29 +0100 Received: from [192.168.0.33] (dslb-084-058-043-124.pools.arcor-ip.net [84.58.43.124]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id A5E205F701 for ; Sun, 30 Jan 2011 17:16:28 +0100 (CET) From: Gerd Stolpmann To: caml-list@inria.fr Content-Type: text/plain; charset="UTF-8" Date: Sun, 30 Jan 2011 17:16:32 +0100 Message-ID: <1296404192.1843.78.camel@gps-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:XOdzSgECVi15CZrBNMZgsxRbTDYmSLN6I0K3xZkPJ9Q 66L10drpLyMlz95HrS8xhYkM6zCHYMsjVQWZfhZiMEGM/ejmTG x4IttLwnqUd8dn1G81yAr8OZjkqjytT2n9fFMYbZlmkP9wVL+q olixgP6GendgRuBuEfhXgHEduf1RegcfhlxT7m0wpbHP26bsGY cwVIlsrdLt5+/SE5SlDQw== Subject: [Caml-list] [ANN] Webdav client library Hi, the search engine team at Mylife is very proud to announce the release of a WebDAV client library for Ocaml: http://oss.wink.com/webdav/ WebDAV allows one to access a remote filesystem via the HTTP protocol. It is often used as easy replacement for FTP, and is e.g. built-in to many desktop file browsers. The library is an add-on to Ocamlnet's Http_client, and basically allows one to submit WebDAV-specific request methods (like PROPFIND or COPY) in addition to the core HTTP methods (like GET and PUT). There is also support for the Netfs.stream_fs class type that was recently added to Ocamlnet, and which models a simple filesystem. So, for example, to get the file listing at a WebDAV server, one could write let fs = Webdav_netfs.webdav_netfs "http://my-webdav.server.com/root" let files = fs # readdir [] "/the/path/to/the/directory" There are more such functions for retrieving files, uploading files, and managing directories. Note that Ocamlnet already contains a compatible implementation for the local filesystem, and one can also e.g. upload an entire directory tree with something like let local_fs = Netfs.local_fs() Netfs.copy_into local_fs "/source/dir" fs "/remote/root" The WebDAV implementation is complete with the omission of the locking methods. The library also includes the XML parsers and printers that would be needed for a WebDAV server (but does not include a server yet). The library uses PXP for parsing and printing XML. See this file for all requirements: http://oss.wink.com/webdav/webdav-1.0/INSTALL The library is included in GODI for ocaml-3.12 as package godi-webdav. Lots of fun, Gerd P.S. Mylife is using this library for copying large files between machines of their search clusters, and for accessing HDFS volumes. -- ------------------------------------------------------------ Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------