<?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 Downloading only certain directories from an FTP server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374828#M137367</link>
    <description>&lt;P&gt;Hello Talend Users,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a FTP directories with&amp;nbsp;many subdirectories (representing years from 1999 to 2018) . For now I can only download all files in all folders. However I want to only download the folders from 2011 to 2018.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So far my Job looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 187px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyzs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146794i8DF0DF21C06BCDF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyzs.png" alt="0683p000009Lyzs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;How can I iterate over the Folders from 2011 to 2018? With tForeach? And if yes how can I connect it to FTPGet?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 14:15:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-30T14:15:33Z</dc:date>
    <item>
      <title>Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374828#M137367</link>
      <description>&lt;P&gt;Hello Talend Users,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a FTP directories with&amp;nbsp;many subdirectories (representing years from 1999 to 2018) . For now I can only download all files in all folders. However I want to only download the folders from 2011 to 2018.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So far my Job looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 187px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyzs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146794i8DF0DF21C06BCDF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyzs.png" alt="0683p000009Lyzs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;How can I iterate over the Folders from 2011 to 2018? With tForeach? And if yes how can I connect it to FTPGet?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374828#M137367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374829#M137368</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Do you want to list sub-directories in FTP folder?&lt;/P&gt; 
&lt;P&gt;Could you please let us know if this resolved topic&lt;A title="https://community.talend.com/t5/Design-and-Development/Exclude-File-Mask-in-TFTPFileList/m-p/124806" href="https://community.qlik.com/s/feed/0D53p00007vCskyCAC" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Exclude-File-Mask-in-TFTPFileList/m-p/124806&lt;/A&gt; is OK with you?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 05:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374829#M137368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T05:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374830#M137369</link>
      <description>&lt;P&gt;This is not really the solution to my problem as it is about excluding certain files from the download. I however want to download only the directories 2011 to 2018 in a list of directories which reaches from 1999 to 2018. So somehow I have to provide a list to the FTPget job.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;BR /&gt;Maximilian&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The FTP Directory looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.png" style="width: 363px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyzo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150926iE29FF18ACE96C9A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyzo.png" alt="0683p000009Lyzo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374830#M137369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T08:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374831#M137370</link>
      <description>&lt;P&gt;You could use tSSH to filter out the folders using unix commands. The output of tSSH you could then store in global variable which is&amp;nbsp;&lt;STRONG&gt;tSSH_1_STDOUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Once you have the list of folders in the global variable just use them to iterate over using&lt;/P&gt;&lt;P&gt;tFTPFileList -&amp;gt; iterate -&amp;gt;tFTPGet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample unix command to filter out folders starting with "talend" -&lt;/P&gt;&lt;PRE&gt;"find $(pwd) -maxdepth 1 -type d -name \"talend*\""&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jul 2018 12:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374831#M137370</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-07-31T12:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374832#M137371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ok sounds really complicated to me since I am a Talend Beginner. How do I connect the tSSH job to the FTPfilelist?</description>
      <pubDate>Tue, 31 Jul 2018 13:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374832#M137371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading only certain directories from an FTP server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374833#M137372</link>
      <description>tSSH - &amp;gt; on subjob ok -&amp;gt; tFTPFileList&lt;BR /&gt;It might sound complicate but it's not. The solution is not straight forward because FTP support is with files and not with folders - that's the reason for the tweak.</description>
      <pubDate>Tue, 31 Jul 2018 14:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-only-certain-directories-from-an-FTP-server/m-p/2374833#M137372</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-07-31T14:34:07Z</dc:date>
    </item>
  </channel>
</rss>

