|Oracle® Fusion Middleware User's Guide for Oracle Portal
11g Release 1 (11.1.1)
Part Number E10235-01
Cadaver is an open-source, command-line, WebDAV client for UNIX. Connect to a WebDAV server with Cadaver by specifying a URL argument after the main Cadaver program name. For Oracle Portal folders, specify the same URL you entered for your portal's Web Folders in the Add Network Place Wizard:
bash$ cadaver portal_network_place_URL
When you want to do something only a privileged user can do, such as add, move, or rename content, Cadaver will prompt you for a user name and password.
After you start Cadaver, you can display a list of available commands by typing
help on the command line. Some commands relevant to content management, include:
common is the part of the filename that all files being uploaded have in common. For example, to upload all files with names that start with hr, such as hr_benefits, hr_policies, hr_forms, the command would be:
Use Cadaver's file-locking capabilities to secure a file while you work on it. Even if you cannot check an item out in the portal itself (for example, you have only the page privilege Manage Items With Approval on a page), you can still use Cadaver to lock the associated file while you work on it.
Locking is useful for more than preventing the overwrite of an active file. For example, you can use it to reserve a particular file name by locking a non-existent file. When you do this, a file with the specified file name is created and locked. This prevents other users from creating a file with the same name. You must remember, however, to unlock this file when you are ready to let other users work on it.
When you use explicit file locking, you must remember to unlock the file when you are done with it. If a file should be locked and forgotten by another user, you can use the
filename command to obtain lock information.
Note:The action of discovering/stealing locks is not supported in Oracle Portal. Lock stealing particularly can lead to errors when users try to open previously locked files. Discover/steal locks at your own risk.
You'll find additional information on WebDAV, Cadaver, and Oracle Portal in the article "Using WebDAV Clients to Replicate External Content into Oracle Portal," available on the Oracle Technology Network: