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

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

How to unzip a .gz file

Hi,
I am wondering which component I can use for the following scenario:
1) Download testing.txt.gz from http://server.com
2) Unzip the testing.txt.gz to testing.txt which is tab delimited format
Any help is really appreciated! I want to know which component I can use to download a .gz file from http://server.com, unzip it to a tab delimited format for ETL processing.
Thanks in advance!
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi,
I have used 7zip to extraxt GZIP Files and called 7zip it with tSystem.
regards
Hannes
Anonymous
Not applicable
Author

Hello
1) Try the tFileFetch component.
2) Junitiedt's solution is a good idea.
Best regards
Shong
Anonymous
Not applicable
Author

Hi klmc
You can use tFileUnarchive to unzip the file once you have fetched it.
Regards,
Rick
Anonymous
Not applicable
Author

Thanks all for your help!!! I tried to use tFileFetch component; if the file doesn't exist, it throws an exception error HTTP/1.1 404, is there a way to specify if the file doesn't exist, don't throw an exception error.
Anonymous
Not applicable
Author

Hello
is there a way to specify if the file doesn't exist, don't throw an exception error.

Uncheck the box 'die on error'.
Best regards
Shong