Search code examples
javascripthtmlcssalfresco

How can i upload a file by using the download link to the file


I am setting up a file viewer to work with another web application, and to make it more user friendly instead of making the user download and upload the file themselves, i want to pass the download link to upload(if anyone has experience with alfresco and know how to get the file itself please tell me), is there any way to do that?


Solution

  • You might want to take a look at the Alfresco REST API. Specifically, getNodeContent allows you to get the content on a node.

    This API requires Alfresco 5.2 or higher. If you are using an older version, please specify.