Using cadaver - a WebDAV Client

The server configuration can be tested with cadaver - a interactive text-based WebDAV client. It can be compiled on many Unix and Linux distributions and an Windows port is also available. Here is a sample session with it:



On lines 1 and 2, a small text file is created in /tmp/sample.txt. On line 3 cadaver is started and on line 4 open command is started. It send an OPTIONS request to find whether the url supports WebDAV and then a PROPFIND request to retrieve a listing of the files in the corresponding collection. On line 5 the file is uploaded using put which issues a PUT request. Then the connection to the server is closed with close and the client is exited. The file sample.txt is uploaded to the server and it can be accessed at http://localhost/firstdav/sample.txt.



Иван Иванов 2006-06-23