<?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: Can I use tMap to filter folders from a FTP server? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290762#M64012</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLACAA4"&gt;@Moe&lt;/A&gt;,from tMap,wirite it it file&amp;nbsp;,tHashOutput or DB and again read that file and iterate the values and in tFTPGet call that global variable form iterated value as file-mask.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 05:50:07 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-08-03T05:50:07Z</dc:date>
    <item>
      <title>Can I use tMap to filter folders from a FTP server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290761#M64011</link>
      <description>&lt;P&gt;I wanted to copy certain folders from a FTP server to my local computer.&lt;/P&gt; 
&lt;P&gt;Here is the Talend components I used:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 325px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz3z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152576i8A236E922E6B6FA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz3z.png" alt="0683p000009Lz3z.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;1. tFTPConnection&lt;/P&gt; 
&lt;P&gt;2. tFTPFileList&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- with the filemask in tFTPFileList, I was able exclude some unwanted folders. In order to exclude all the unwanted files, I used another 2 components:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3. tIterateToFlow:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; filename:&amp;nbsp;((String)globalMap.get("tFTPFileList_4_CURRENT_FILE"))&amp;nbsp; &amp;nbsp; &amp;nbsp;-- in this case, the filename is the folder name&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; filepath:&amp;nbsp; &amp;nbsp;((String)globalMap.get("tFTPFileList_4_CURRENT_FILEPATH"))&lt;/P&gt; 
&lt;P&gt;4. tMap:&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; use a filter to exclude unwanted file:&amp;nbsp;&amp;nbsp;!row9.filename.equals("here is the unwanted folder name")&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now if I link tMap's output to tLogRow, I can see the unwanted filenames (folder names) are all gone.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But my question is, how to copy the correct foldes after tMap? Can I just connect tMap to tFTPGet? What should I&amp;nbsp; do now?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 04:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290761#M64011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T04:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use tMap to filter folders from a FTP server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290762#M64012</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLACAA4"&gt;@Moe&lt;/A&gt;,from tMap,wirite it it file&amp;nbsp;,tHashOutput or DB and again read that file and iterate the values and in tFTPGet call that global variable form iterated value as file-mask.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 05:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290762#M64012</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-08-03T05:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use tMap to filter folders from a FTP server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290763#M64013</link>
      <description>link tMap to a tFlowToIiterate to iterate each folder, eg:&lt;BR /&gt;...tMap--tflowToIterate--iterate--tFTPGet.</description>
      <pubDate>Fri, 03 Aug 2018 07:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290763#M64013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T07:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use tMap to filter folders from a FTP server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290764#M64014</link>
      <description>&lt;P&gt;Thank you shong!&amp;nbsp; It worked.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 15:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-I-use-tMap-to-filter-folders-from-a-FTP-server/m-p/2290764#M64014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T15:09:16Z</dc:date>
    </item>
  </channel>
</rss>

