[SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

Four Stars

[SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

EDIT: Solved. The extracted .gz file was actually a .zip file just named .gz!

 

I have a job which takes gzip files (.gz), not in a tarball, which contain multiple .csv files and decompresses them to a directory.

I'm not able to decompress the gzip files provided using tFileUnarchive and get the error "Not in GZIP format".

 

Using 7-Zip, I am able to manually extract the files which I suppose indicates that the file is not corrupt?

I understand that multiple files should be tarballed pre-gzip, but this is unavoidable due to the third party's extraction framework.

 

Any help would be appreciated.

Thanks.

Moderator

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

Hi,

Thanks for posting that you have resolved this issue by yourself.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

hi,
how did you resolve this ? please tell me
Moderator

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

Hello,

Please have a look at this author's EDIT.

EDIT: Solved. The extracted .gz file was actually a .zip file just named .gz!

We have replied to your another topic:https://community.talend.com/t5/Design-and-Development/Unarchiving-gz-file-error-quot-Not-in-GZIP-fo...

Could you please check it and see if it is OK with you?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

hi sabrina,

i wanted to extract it as .gz file and not zip, i am using talend 5.4 version there is no option to select the archive format like in 6.1 . So , i just named the file *.gz . Please let me know if i am doing it correct

Thanks,
hachi
Moderator

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

Hello,

The tFileArchive has supported for gzip file format since V 6.1. Could you please try to use a higher version(6.1+) to see if it works instead of naming the file  as*.gz? Are you using a subscription solution V 5.4?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"


Hi Sabrina,

we have license for 5.4.1 version, . please give details on calling it from command line.

Thanks,
Hachi
Moderator

Re: [SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

Hello Hachi,

Could you please create a case on talend support portal with your subscription solution to see if a patch will be available for your V 5.4?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.