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?
Asked
Active
Viewed 79 times
-1
-
1You want to download and the upload the same file to the same server ? Please be more specific... – Marc Apr 03 '19 at 12:04
-
I want to use the download link i get from the alfresco server, to upload the file to the viewer – Mase Apr 03 '19 at 12:08
-
[please look at this](https://stackoverflow.com/a/49836565/9042437) -impliment it – Anandhukrishna VR Apr 03 '19 at 12:09
-
On what is the "fileviewer" running, what are you using to write it... My magic bullet is not working – Marc Apr 03 '19 at 12:09
-
@Marc the fileviewer is running on node written in javascript, and uses Autodesks API – Mase Apr 03 '19 at 12:14
-
@malikaasen You have just to let the user input the download link on your page, pass them to the server, download the file with a http request and then do with the file what you want. I see no problem here – Marc Apr 03 '19 at 12:30
-
i've made it somewhat work with the httprequest and will probably be able to do the rest. Thank you! – Mase Apr 04 '19 at 11:04
1 Answers
0
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.

Jeff Potts
- 10,468
- 17
- 40
-
I got it to work by using getNodeContent, and now need to figure the Autodesk side. Thanks for the help! – Mase Apr 16 '19 at 17:07