1) Using calls to webdav::* procs, as in:
package require webdav
set dav [webdav::open http://mysite.org/some/path/]
puts [webdav::get $dav foo/bar]
webdav::close $dav
2) Via an object command wrapper to do the same:
package require webdav
set dav [webdav::connect http://mysite.org/some/path/]
puts [$dav get foo/bar]
$dav close
3) As a mounted VFS file system:
package require vfs::dav
vfs::dav::Mount http://mysite.org/some/path/ mydav
set fd [open mydav/foo/bar]
puts [read $fd]
close $fd
vfs::unmount mydav
4) By registering a new url type handler:
package require vfs::urltype
vfs::urltype::Mount dav
set fd [open dav://mysite.org/some/path/foo/bar]
puts [read $fd]
close $fdThe API of the webdav package is documented here [3].The webdav and davvfs packages have been submitted to Tcllib for consideration, review, and possible inclusion.This project has been made possible through financial support by Primetime.-jcwCategory Package Category Internet Category XML Category Tclkit
