Questions about down a file

cancel
Showing results for 
Search instead for 
Did you mean: 
YanFeiHu
Member II

Questions about down a file

Hi Team;

   How could we download a file using JS or Java code, please refer follow picture.

   Thanks a lot.

download.png

4 Replies
afaust
Master

Re: Questions about down a file

The simplest way would be to use the ReST API to retrieve the content of that file using the getNodeContent operation  - you have to use the UUID of the node as the nodeId for this operation, i.e. if the nodeRef for that document is workspace://SpacesStore/12345 then the UUID would be 12345

YanFeiHu
Member II

Re: Questions about down a file

Hi 

  Thank you so much for the response.

  1, Can I download the file by create an action? if yes, could you show me a simple case please.

  2, Can I transform the file into stream file then sending to another remote computer?

 

 

sanjaybandhniya
Intermediate

Re: Questions about down a file

You can take reference of Existing Download Action.

 

Thanks & Regards,
Sanjay
YanFeiHu
Member II

Re: Questions about down a file

Hi

    Thank you for your advice.

    Could you tell me where to find the 'Existing Download Action' code please?