<?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: Downloading most recent file from an ftp server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330572#M99639</link>
    <description>You are missing a tFlowToIterate component between tSampleRow_1 and tFTPGet_1. In tFTPGet_1 the filemask should then be something like ((String)globalMap.get("row3.basename")).</description>
    <pubDate>Tue, 30 Aug 2016 14:52:48 GMT</pubDate>
    <dc:creator>JR1</dc:creator>
    <dc:date>2016-08-30T14:52:48Z</dc:date>
    <item>
      <title>Downloading most recent file from an ftp server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330571#M99638</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;I'm trying to download the most recent file from an ftp server, by iterating through a directory using a tFtpFileList and tFtpFileProperties components. Then I'm sorting the rows using the "mtime" field, and sample the first row of the table, so that I can get the properties of the most recent file. My problem is that I cannot get the value from the tSampleRow component in order to pass it as a filemask parameter in the tFtpGet component (I use "row3.basename" as a filemask, which doesn't give any results). What am I missing here ?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFgc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153735i9E6EBD8F109E1603/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFgc.png" alt="0683p000009MFgc.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFeN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134914i59A1DB17904D8BE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFeN.png" alt="0683p000009MFeN.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 12:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330571#M99638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading most recent file from an ftp server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330572#M99639</link>
      <description>You are missing a tFlowToIterate component between tSampleRow_1 and tFTPGet_1. In tFTPGet_1 the filemask should then be something like ((String)globalMap.get("row3.basename")).</description>
      <pubDate>Tue, 30 Aug 2016 14:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330572#M99639</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2016-08-30T14:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading most recent file from an ftp server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330573#M99640</link>
      <description>Hi,&amp;nbsp;
&lt;BR /&gt;Many thanks for the hint ! apart from missing the tFlowToIterate component, I also had to add some extra components : a tBufferOutput to store the file properties, and an tBufferInput to read the results, before sorting them and sampling the first line.
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFgh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137803iC4384FF1CF1E75CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFgh.png" alt="0683p000009MFgh.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 30 Aug 2016 17:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Downloading-most-recent-file-from-an-ftp-server/m-p/2330573#M99640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T17:08:43Z</dc:date>
    </item>
  </channel>
</rss>

