<?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: Is there a way to create a folder dynamically based on the first part of the filename in talend before copying the sftp file in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Is-there-a-way-to-create-a-folder-dynamically-based-on-the-first/m-p/2203254#M640</link>
    <description>&lt;P&gt;@Haresh Sivakumar​&amp;nbsp;, based on the SFTP file you need to take first occurrence of _ what value do you have right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to use tFTPfileproperties and get the filename and then do use the substring and index of  function to get the  portion of the file name then iterate using tflowtoiterate and then you create a directory and download the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 04:02:31 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-09-24T04:02:31Z</dc:date>
    <item>
      <title>Is there a way to create a folder dynamically based on the first part of the filename in talend before copying the sftp file</title>
      <link>https://community.qlik.com/t5/Data-Quality/Is-there-a-way-to-create-a-folder-dynamically-based-on-the-first/m-p/2203253#M639</link>
      <description>&lt;P&gt;I am downloading a file from the remote sftp site and based on the filename for eg:A_B_C.csv before using tfilecopy in talend to transfer the file onto a local folder,how can i create a new folder based on the first part of the filename just before delimiter_(folder called A in this case) and then copy the file onto the specific folder called A?&lt;/P&gt;&lt;P&gt;Or even a java code to parse the filename and extract only A field from the filename (A_B_C.csv) and create a folder/directory and then copy the retrieved file into the same folder&lt;/P&gt;&lt;P&gt;Somebody please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Is-there-a-way-to-create-a-folder-dynamically-based-on-the-first/m-p/2203253#M639</guid>
      <dc:creator>Haresh</dc:creator>
      <dc:date>2024-11-16T01:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a folder dynamically based on the first part of the filename in talend before copying the sftp file</title>
      <link>https://community.qlik.com/t5/Data-Quality/Is-there-a-way-to-create-a-folder-dynamically-based-on-the-first/m-p/2203254#M640</link>
      <description>&lt;P&gt;@Haresh Sivakumar​&amp;nbsp;, based on the SFTP file you need to take first occurrence of _ what value do you have right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to use tFTPfileproperties and get the filename and then do use the substring and index of  function to get the  portion of the file name then iterate using tflowtoiterate and then you create a directory and download the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 04:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Is-there-a-way-to-create-a-folder-dynamically-based-on-the-first/m-p/2203254#M640</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-24T04:02:31Z</dc:date>
    </item>
  </channel>
</rss>

