<?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 Re: Problem with tFileList and tFileUnarchive in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322154#M92124</link>
    <description>Thank you for your answer.&lt;BR /&gt;Indeed, if I replace the .gz file (created with linux) by .zip file (created with windows), then it works&lt;BR /&gt;However, its is strange:&lt;BR /&gt;&lt;BR /&gt;file.zip-&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;file.gz -&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;dir/*gz  -&amp;gt; tFileList -&amp;gt; tFileUnarchive -&amp;gt; KO&lt;BR /&gt;dir/*zip -&amp;gt; tFileList -&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;why do the unarchive works with just one gz file  but not with the filelist ?&lt;BR /&gt;I've tried every latest version of TOS&lt;BR /&gt;Thank you for your help</description>
    <pubDate>Tue, 25 Sep 2007 10:42:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-09-25T10:42:59Z</dc:date>
    <item>
      <title>Problem with tFileList and tFileUnarchive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322152#M92122</link>
      <description>Within a java project, 
&lt;BR /&gt;I'm trying to unzip all files in a given directory. I can't make it work: (same problem as 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCtKgCAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/problem-with-tFileUnarchive/td-p/63201&lt;/A&gt;, but with java), I still have a java exception: 
&lt;BR /&gt;Exception in component tFileUnarchive_1 
&lt;BR /&gt;java.io.IOException: Negative seek offset 
&lt;BR /&gt; at java.io.RandomAccessFile.seek(Native Method) 
&lt;BR /&gt; at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:365) 
&lt;BR /&gt; at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:243) 
&lt;BR /&gt; at org.apache.tools.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:142) 
&lt;BR /&gt; at org.apache.tools.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:113) 
&lt;BR /&gt; at proto.perfweb.PERFWEB.tFileList_1Process(PERFWEB.java:237) 
&lt;BR /&gt; at proto.perfweb.PERFWEB.runJob(PERFWEB.java:413) 
&lt;BR /&gt; at proto.perfweb.PERFWEB.main(PERFWEB.java:360) 
&lt;BR /&gt;Is it a bug ? Here there any other way to do it ? 
&lt;BR /&gt;Please find the détails in the images below</description>
      <pubDate>Sat, 16 Nov 2024 14:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322152#M92122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tFileList and tFileUnarchive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322153#M92123</link>
      <description>Hi bobby
&lt;BR /&gt;Which version of TOS did you use? I have tested this problem on my computer and it runs fine. 
&lt;BR /&gt;My project: windowXP, TOS2.2.0M2, Java
&lt;BR /&gt;I unzip the .zip files in my project. please see the screenshots:
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 25 Sep 2007 09:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322153#M92123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-25T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tFileList and tFileUnarchive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322154#M92124</link>
      <description>Thank you for your answer.&lt;BR /&gt;Indeed, if I replace the .gz file (created with linux) by .zip file (created with windows), then it works&lt;BR /&gt;However, its is strange:&lt;BR /&gt;&lt;BR /&gt;file.zip-&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;file.gz -&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;dir/*gz  -&amp;gt; tFileList -&amp;gt; tFileUnarchive -&amp;gt; KO&lt;BR /&gt;dir/*zip -&amp;gt; tFileList -&amp;gt; tFileUnarchive -&amp;gt; OK&lt;BR /&gt;why do the unarchive works with just one gz file  but not with the filelist ?&lt;BR /&gt;I've tried every latest version of TOS&lt;BR /&gt;Thank you for your help</description>
      <pubDate>Tue, 25 Sep 2007 10:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322154#M92124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-25T10:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tFileList and tFileUnarchive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322155#M92125</link>
      <description>Hi Bobby
&lt;BR /&gt;It is a bug from the component. You can see it here: 
&lt;A href="http://talendforge.org/bugs/view.php?id=2103" rel="nofollow noopener noreferrer"&gt;http://talendforge.org/bugs/view.php?id=2103&lt;/A&gt;
&lt;BR /&gt;it will unzip the file in zip by default
&lt;BR /&gt;file.gz -&amp;gt; tFileUnarchive -&amp;gt; OK, 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;code:&lt;BR /&gt;java.util.zip.GZIPInputStream zip_tFileUnarchive_1 = new java.util.zip.GZIPInputStream(&lt;BR /&gt; new java.io.FileInputStream(new java.io.File(&lt;BR /&gt; zipFileURL_tFileUnarchive_1)));&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;file.gz -&amp;gt; tFileList -&amp;gt; tFileUnarchive -&amp;gt; KO
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;code:&lt;BR /&gt;String zipFileURL_tFileUnarchive_1 = ((String) globalMap&lt;BR /&gt; .get("tFileList_1_CURRENT_FILEPATH"));&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 26 Sep 2007 10:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322155#M92125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-26T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tFileList and tFileUnarchive</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322156#M92126</link>
      <description>Thank you very much&lt;BR /&gt;I will closely follow this bug evolution&lt;BR /&gt;Best Regards</description>
      <pubDate>Wed, 26 Sep 2007 12:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-tFileList-and-tFileUnarchive/m-p/2322156#M92126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-26T12:37:23Z</dc:date>
    </item>
  </channel>
</rss>

