Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have REST API in which there is document attached we need to download.
Can you suggest any method to do so?
I tried following ways.
Note : I am using tRestClient as the REST API which I am using has got internal redirection which can be enabled in this component only.
Below is the complete error log.
Exception in component tFileOutputXML_1
java.lang.NullPointerException
at dns_poc.api_doc_downloand_0_1.API_Doc_downloand.tRESTClient_1Process(API_Doc_downloand.java:1555)
at dns_poc.api_doc_downloand_0_1.API_Doc_downloand.tREST_1Process(API_Doc_downloand.java:867)
at dns_poc.api_doc_downloand_0_1.API_Doc_downloand.runJobInTOS(API_Doc_downloand.java:1867)
at dns_poc.api_doc_downloand_0_1.API_Doc_downloand.main(API_Doc_downloand.java:1701)
[FATAL]: dns_poc.api_doc_downloand_0_1.API_Doc_downloand - tFileOutputXML_1 null
Hi Abhishesk,
Thanks for the suggestion it worked but I am afraid still the file content downloaded is garbage one.
Do you know if any encoding parameters might need to be tweaked on Talend side?
Thanks,
Hrushikesh.
Hi @Abhishek Chakraborty
I want to download image from sharepoint. I have tried with tFileFatch & able to download .jpeg but when I'm trying to open it then its showing me error
Error:- It appears that we don't support this file format