Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I am using a tfilefetch component to download an important amount of jpg files but i'm not satisfied by the way it handles http error.
It happens that i get http error 504 and when it happens, i would like to save temporarly the download url in a file or database whatever,
like that the rest of my job process can continue and i can retry to get the files in error later.
But the problem with tfilefetch is that even if it fails and returns an http error, I want the process to continue.
So i unchecked the "Die on error" option, but it means i cannot use the trigger "OnComponentError".
After searching for tfilefetch solutions to my problem, i conclude that i can't do waht i want with it.
So i tried with tRestClient, but i can't really make it work and with tHTTPRequest but i can't decode the response to a jpeg file.
In conclusion, if you know how to properly handle http eror with tfilefetch tell me how to do it please.
Or if it's not the component i need, tell which one is it.
Thank you in adavance,
Martin
@Martin Caron , We do not have component to do this you need to look at creating a custom component.
Thanks,
Manohar