<?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: How to create temp directory? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370753#M133759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any reason to not use tFileUnarchive component?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2017 07:20:06 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-12-20T07:20:06Z</dc:date>
    <item>
      <title>How to create temp directory?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370752#M133758</link>
      <description>&lt;P&gt;I have the task of decompressing a zip file and plan to use Java's Zip4j but I need a temp directory to extract it to while I parse the file. I saw the tFileList component but I'm not sure how to reference a directory on the server that the Talend job is deployed to in order to use it. Is there a default temp dir that I could use for this purpose?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370752#M133758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temp directory?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370753#M133759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any reason to not use tFileUnarchive component?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 07:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370753#M133759</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-20T07:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temp directory?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370754#M133760</link>
      <description>&lt;P&gt;To be honest I didn't know about it. This is what I ended up with though. I don't know how it compares to the tFileUnarchive, but it it's exactly what I needed since I am parsing the file manually anyway. Thanks for the heads up tFileUnarchive.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;ZipInputStream zis = new ZipInputStream((InputStream)globalMap.get("tFileFetch_1_INPUT_STREAM"));
InputStream is = null;

ZipEntry entry;
while ((entry = zis.getNextEntry()) != null)
{
	if (entry.getName().equals(fileName)) {		
    		is = (InputStream)zis;
    		break;
    }
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Dec 2017 11:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-temp-directory/m-p/2370754#M133760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T11:32:43Z</dc:date>
    </item>
  </channel>
</rss>

