Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Retry a URL using tFileFetch

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?

Labels (2)
1 Reply
Anonymous
Not applicable
Author

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.