Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In my Talend Data Integration job I need to upload a file (with multipart/form-data) to http server. Server in response returns http code other than 200 (for example 201, 202).
I tried to use tFileFetch but this component only accepts responses with a code 200.
Do you have any suggestion that I may use?
shong wrote:
unless you modify the source code of component.
if (status_tFileFetch_1 != org.apache.commons.httpclient.HttpStatus.SC_OK) {
throw new java.lang.Exception("Method failed: " + method_tFileFetch_1.getStatusLine());
}
shong wrote:
unless you modify the source code of component.
Hi ,
I am facing same issue, I want other status codes also to be accepted.
Please can you tell me steps to edit code in tFileFetch component and create new custom component.
Where do i need to edit and what ?
Please help me.