Hi, I am using tFileFetch to retrieve a file but sometimes it gives an error while fetching. If this error occurs I want tFileFetch to retry the URL and try to download the file. How can I implement this in Talend studio?
You can do it this way: tLoop -> tFileFetch -- flow --> tJavaFlex. In the tJavaFlex in the begin open a try { and in the end part put in a }catch (Exception e) { and in the catch block setup code in which you check the exception type and ignore the exception.