<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unarchive the .gzip files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372326#M135178</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am having the .gzip files in FTP, we need to unarchive the files. I tried using tFileUnarchive component but i was getting the following error. Could any one help me on this.&lt;/P&gt; 
&lt;P&gt;Below is the error code&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tFileUnarchive_2&lt;BR /&gt;java.util.zip.ZipException: archive is not a ZIP archive&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:847)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:777)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:522)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:216)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:192)&lt;BR /&gt;[FATAL]: local_project.ksgfileloading_0_1.KSGFileLoading - tFileUnarchive_2 archive is not a ZIP archive&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:164)&lt;BR /&gt;at com.talend.compress.zip.Unzip.doUnzipWithoutDecryption(Unzip.java:191)&lt;BR /&gt;at com.talend.compress.zip.Unzip.doUnzip(Unzip.java:76)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileUnarchive_2Process(KSGFileLoading.java:1394)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileList_2Process(KSGFileLoading.java:1110)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileList_1Process(KSGFileLoading.java:645)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.runJobInTOS(KSGFileLoading.java:1687)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.main(KSGFileLoading.java:1521)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Bharath.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 14:46:44 GMT</pubDate>
    <dc:creator>javvaji</dc:creator>
    <dc:date>2017-12-21T14:46:44Z</dc:date>
    <item>
      <title>Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372326#M135178</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am having the .gzip files in FTP, we need to unarchive the files. I tried using tFileUnarchive component but i was getting the following error. Could any one help me on this.&lt;/P&gt; 
&lt;P&gt;Below is the error code&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tFileUnarchive_2&lt;BR /&gt;java.util.zip.ZipException: archive is not a ZIP archive&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:847)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:777)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:522)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:216)&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:192)&lt;BR /&gt;[FATAL]: local_project.ksgfileloading_0_1.KSGFileLoading - tFileUnarchive_2 archive is not a ZIP archive&lt;BR /&gt;at org.apache.commons.compress.archivers.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:164)&lt;BR /&gt;at com.talend.compress.zip.Unzip.doUnzipWithoutDecryption(Unzip.java:191)&lt;BR /&gt;at com.talend.compress.zip.Unzip.doUnzip(Unzip.java:76)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileUnarchive_2Process(KSGFileLoading.java:1394)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileList_2Process(KSGFileLoading.java:1110)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.tFileList_1Process(KSGFileLoading.java:645)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.runJobInTOS(KSGFileLoading.java:1687)&lt;BR /&gt;at local_project.ksgfileloading_0_1.KSGFileLoading.main(KSGFileLoading.java:1521)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Bharath.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 14:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372326#M135178</guid>
      <dc:creator>javvaji</dc:creator>
      <dc:date>2017-12-21T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372327#M135179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Depending on your TOS version, GZIP format maybe not supported by tFileArchive/tFileUnarchive components.&lt;/P&gt; 
&lt;P&gt;Here is a workaround you may check for archinving &lt;A href="https://www.linkedin.com/pulse/how-compressarchive-files-gzip-format-using-talend-open-vikram-takkar/" target="_self" rel="nofollow noopener noreferrer"&gt;https://www.linkedin.com/pulse/how-compressarchive-files-gzip-format-using-talend-open-vikram-takkar/&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;You'll probably be inspired for the reverse operation.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 14:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372327#M135179</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-21T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372328#M135180</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in that link we don't have code to unarchive the .gzip files. we have only how to compress the file to .gzip format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bharath.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372328#M135180</guid>
      <dc:creator>javvaji</dc:creator>
      <dc:date>2017-12-21T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372329#M135181</link>
      <description>&lt;P&gt;I didn't said this is the solution, I just said y&lt;SPAN&gt;ou'll probably be inspired by it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372329#M135181</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-21T15:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372330#M135182</link>
      <description>See if you can use this java code to achieve your purpose in talend
&lt;BR /&gt;
&lt;A href="https://examples.javacodegeeks.com/core-java/io/fileinputstream/decompress-a-gzip-file-in-java-example/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://examples.javacodegeeks.com/core-java/io/fileinputstream/decompress-a-gzip-file-in-java-example/&lt;/A&gt;</description>
      <pubDate>Thu, 21 Dec 2017 17:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372330#M135182</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2017-12-21T17:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unarchive the .gzip files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372331#M135183</link>
      <description>&lt;P&gt;Thanks for reply vineet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also referred the same site and achieved it. But any way thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharath.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 15:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unarchive-the-gzip-files/m-p/2372331#M135183</guid>
      <dc:creator>javvaji</dc:creator>
      <dc:date>2018-01-04T15:26:27Z</dc:date>
    </item>
  </channel>
</rss>

