4.4.1.4. Modifying Content via CMIS

In the previous section, you get a file using file service and the file's ID.

You can modify your local copy of the file and upload it back to the Content drive using the file service again but with PUT method.

curl -T test.txt -X PUT -H "Content-Type:text/plain; charset=UTF-8" -u root:gtn http://localhost:8080/rest/private/cmisatom/Managed%20Sites/file/03dd409c7f000001010b7e050789d358

Then check the new content of /intranet/documents/test.txt in Sites Explorer.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus