<?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 [resolved] Create Folder in Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264683#M44448</link>
    <description>Good Morning,
&lt;BR /&gt;I am using a tFtpGet for a file and upload it to another ftp by tFtpPut component.
&lt;BR /&gt;To do this, I need to create a temporary folder does not exist, which make the intermediate step.
&lt;BR /&gt;How can I do it?
&lt;BR /&gt;Thank you so much.</description>
    <pubDate>Wed, 09 Sep 2015 09:34:19 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-09-09T09:34:19Z</dc:date>
    <item>
      <title>[resolved] Create Folder in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264683#M44448</link>
      <description>Good Morning,
&lt;BR /&gt;I am using a tFtpGet for a file and upload it to another ftp by tFtpPut component.
&lt;BR /&gt;To do this, I need to create a temporary folder does not exist, which make the intermediate step.
&lt;BR /&gt;How can I do it?
&lt;BR /&gt;Thank you so much.</description>
      <pubDate>Wed, 09 Sep 2015 09:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264683#M44448</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-09T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Create Folder in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264684#M44449</link>
      <description>Define a context variable called directorypth and set its value which is the directory path you want to create. &amp;nbsp;In the begin of job, using a tJava and write this code to create a directory.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;new java.io.File(context.directorypath).mkdirs();&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;on tFTPGet or tFTPPut, you can set the 
&lt;B&gt;Local Directory&lt;/B&gt; filed with context variable.
&lt;BR /&gt;In the end of job, you can use tFileDelete to delete the directory if needed.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 09 Sep 2015 11:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264684#M44449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T11:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Create Folder in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264685#M44450</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Define a context variable called directorypth and set its value which is the directory path you want to create. &amp;nbsp;In the begin of job, using a tJava and write this code to create a directory.&lt;BR /&gt;
     &lt;BLOCKQUOTE&gt;
      &lt;TABLE border="1"&gt;
       &lt;TBODY&gt;
        &lt;TR&gt;
         &lt;TD&gt;new java.io.File(context.directorypath).mkdirs();&lt;/TD&gt;
        &lt;/TR&gt;
       &lt;/TBODY&gt;
      &lt;/TABLE&gt;
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;on tFTPGet or tFTPPut, you can set the &lt;B&gt;Local Directory&lt;/B&gt; filed with context variable.&lt;BR /&gt;In the end of job, you can use tFileDelete to delete the directory if needed.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thank you very much for your answer, I found it very useful.
&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 09 Sep 2015 12:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Create-Folder-in-Job/m-p/2264685#M44450</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-09T12:15:19Z</dc:date>
    </item>
  </channel>
</rss>

