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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

A bug in tFilefetch component?

Hi: it looks like we have some bugs in tFileFetch component when we try to use the component for http get with some query string and if we leave the destination file name empty, that makes the component fail to download the file. When I got deep into the code I found this line is the culprit
java.net.URL url_tFileFetch_1 = new java.net.URL(
" http://clinicaltrials.gov/ct2/results/download?down_stds=all&down_typ=study&down_flds=shown&down_fmt...");
In this case it will never return the file name (see the sun java doc for more info http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getFile%28%29), but the full path with query string and when we try to use the returned string as file name it blows the file I/O code.
Regards,
RJ.
Labels (3)
0 Replies