Download document with direct link
You can download a document from OpenKM using a command line utility like wget. There is a service with BASIC authentication for this task. You can reference a document by UUID using the uuid parameter. In the same URL, you need to specify the user and password.
Available parameters:
- The parameter uuid is the document UUID.
- The parameter inline is set when the document must be downloaded as an attachment or shown inline. It’s a boolean parameter; allowed values are true or false.
Sample:
http://user:password@@localhost:8080/openkm/download?uuid=def34bcc-3291-4e11-9aa3-e86ae32f5a6cThis eases some integration tasks:
$ wget http://okmAdmin:admin@localhost:8080/openkm/download?uuid=xxx-yyy-zzz